• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData - cannot load .sqlstore if path contains Alias folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Subject: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • From: Thomas Engelmeier <email@hidden>
  • Date: Thu, 6 Sep 2007 08:27:31 +0200


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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CoreData - cannot load .sqlstore if path contains Alias folder
      • From: Nick Zitzmann <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>)

  • Prev by Date: Re: ObjC BOOL and boolean c expressions
  • Next by Date: Re: How to: Address Book-like text UI
  • Previous by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Next by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Index(es):
    • Date
    • Thread