[Mono-bugs] [Bug 680695] New: Environment.SpecialFolder.Personal points to the wrong place

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 17 18:58:36 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=680695

https://bugzilla.novell.com/show_bug.cgi?id=680695#c0


           Summary: Environment.SpecialFolder.Personal points to the wrong
                    place
    Classification: Mono
           Product: MonoTouch
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: gnorton at novell.com
        ReportedBy: chrisntr at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.114 Safari/534.16

Using Environment.GetFolderPath (Environment.SpecialFolder.Personal) ends up
returning the folder path to the Macs users Documents directory - for example
"/Users/chrishardy/Documents/" instead of the MonoTouch application's folder.

This happens when running the application in the MonoTouch simulator.

Reproducible: Always

Steps to Reproduce:
1. Use Environment.GetFolderPath (Environment.SpecialFolder.Personal) in a
MonoTouch application in the Simulator
2.
3.
Actual Results:  
Returns /Users/{username}/Documents/

Expected Results:  
Should return the directory for the MonoTouch app

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list