Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData - cannot load .sqlstore if path contains Alias folder




On 05.09.2007, at 21:07, Chris Hanson wrote:

This has nothing to do with Core Data. Finder aliases are not resolved automatically in the same way that symbolic links are; they need to be resolved manually using the Carbon File Manager. This is not normally a problem as only manually-typed paths are likely to contain elements that are Finder aliases; paths returned by NSOpenPanel or NSSavePanel won't.

Well, it _is_ an problem which is still unresolved after some years of OS X.


- the Finder offers no UI for creating anything (hard- or symlinks) besides than alias files
- paths are used everywhere in Cocoa Apps
- when the User reorganises his harddisk (duh, my iTunes Lib and CoolApp Lib folders are too huge, I move them to /BigExternalStorage/ Overflow and place that "Make Alias" thingy in the original location)
- as the perceived mantra is "Wonderful Cocoa supercedes Carbon" I'd expect [aNSString stringByExpandingTildeInPath] also takes care of alias files along the way
- it depends entirely on how interested in that "bad" Carbon API the author of CoolApp was if the User gets broken or working behavior.


Regards,
Tom"IIRC filing an bug against this which once again went into the Radar dustbin"E
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >CoreData - cannot load .sqlstore if path contains Alias folder (From: "Simon Liu" <email@hidden>)
 >Re: CoreData - cannot load .sqlstore if path contains Alias folder (From: Chris Hanson <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.