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 Sep 5, 2007, at 7:41 AM, Simon Liu wrote:

Anybody else come across this?  I suppose I could check the path for
alias folders, and resolve them, but this seems like extra work.
Surely the CoreData loading functions would traverse the paths
correctly?

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.


  -- Chris

_______________________________________________

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>)



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.