Bug 744 - Files can be created with only spaces as a filename.
Summary: Files can be created with only spaces as a filename.
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 2.6
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-09-11 09:05 UTC by Nischal
Modified: 2011-12-22 11:29 UTC (History)
2 users (show)

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

Creating a file with only spaces in the File name (67.96 KB, image/png)
2011-09-11 09:05 UTC, Nischal
.CS file (44.93 KB, image/png)
2011-09-11 09:06 UTC, Nischal

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:

Description Nischal 2011-09-11 09:05:35 UTC
Created attachment 318 [details]
Creating a file with only spaces in the File name

Steps to reproduce:

1. Open MonoDevelop.
2. Move to File Menu in Menu Bar.
3. Goto File in New option (New >> File)
4. In New File pop up under C# select Mono For Android.
5. Select any of the available option in the Right side box.
6. Provide only spaces as a file name and click on New button.
7. Observe that Files can be created with only spaces as the file name.

Actual Result: User can create a file with filename as spaces.
Refer to the attached screenshot.

Expected Result: User should not be able to create a file with file name as spaces and a proper validation message should be displayed.

Windows 7 (32 bit)
Windows XP (32 bit)
Comment 1 Nischal 2011-09-11 09:06:50 UTC
Created attachment 319 [details]
.CS file
Comment 2 Marek Habersack 2011-09-12 09:03:58 UTC
-> MonoDevelop
Comment 3 Jeffrey Stedfast 2011-09-27 12:48:20 UTC
Comment 4 Nischal 2011-12-22 11:28:53 UTC
We have tested this issue.this is no longer appear

Hence closing this issue.