• 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
NSPersistentDocument SQL Save As
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSPersistentDocument SQL Save As


  • Subject: NSPersistentDocument SQL Save As
  • From: Jesse Grosjean <email@hidden>
  • Date: Fri, 11 Nov 2005 13:35:58 -0500

I'm running into a strange problem and am looking for hints on what might be the cause. I'm using NSPersistentDocument with an SQL store. Saving works fine, but if I choose Save As... then data is lost in the saving process. The data that is lost seems to be specific to only one type of entity. And it only seems to be attribute values (all of them) that are lost. The relationships for the entity DO seem to be saved correctly.

The last bit of trivia is that if I make a change to one of the attribute values that get lost before choosing "save as" then the attributes for that particular entity are saved correctly. So objects that have changes always save as correctly. But if objects don't have changes, then for one entity type (out of many) attribute values are lost.

Any ideas on what might be wrong, or how to debug this?

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSPersistentDocument SQL Save As
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: [NSArrayController] finding object
  • Next by Date: Re: alias not resolving after a movePath
  • Previous by thread: Re: alias not resolving after a movePath
  • Next by thread: Re: NSPersistentDocument SQL Save As
  • Index(es):
    • Date
    • Thread