Bug 252 - Do not allow iOS application names with a '.'
Summary: Do not allow iOS application names with a '.'
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-08-09 22:35 UTC by Sebastien Pouliot
Modified: 2011-08-23 06:26 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Sebastien Pouliot 2011-08-09 22:35:16 UTC
[22:30:46] <spouliot> I closed the (novell) bug about it - want a new one (xamarin) for MD addin to disallow such thing ?
[22:31:32] <miguel_> I think we should get that in place
[22:31:35] <miguel_> Assign it to Alan

Original report: https://bugzilla.novell.com/show_bug.cgi?id=691193

Documented: http://ios.xamarin.com/Documentation/Troubleshoot#Simulator_hangs_during_application_installation
Comment 1 Mikayla Hutchinson [MSFT] 2011-08-10 16:21:34 UTC
I implemented this a while ago, though it might have got broken since.

If you look in IPhoneProjectConfiguration you'll see a SanitizeAppName that gets called when creating new configurations from IPhoneProject, and AppNameIsValid that gets called when compiling the project to emit an warning.

I suppose you could change the warning to an error, in which case you should probably do that for CheckContentNamePermitted and CheckInterfaceDefinitionNamePermitted too.

See also
https://bugzilla.novell.com/show_bug.cgi?id=542053
Comment 2 Sebastien Pouliot 2011-08-10 16:35:25 UTC
I tested the original bug report by renaming the application project inside MonoDevelop. Maybe that does not go thru the same validations ?
Comment 3 Mikayla Hutchinson [MSFT] 2011-08-10 17:03:41 UTC
Possibly, yeah, though I didn't think we changed output names when renaming projects. You should have still hit the warning though.
Comment 4 Mike Krüger 2011-08-23 06:26:19 UTC
fixed.