• 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: Core Data app saving zero length files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data app saving zero length files


  • Subject: Re: Core Data app saving zero length files
  • From: Ben Trumbull <email@hidden>
  • Date: Sat, 3 Nov 2007 17:01:39 -0700

I've been able to re-pro this with a bare bones core data document
app for the both the XML store and the binary store, the SQLLite
store seems to be ok.
You can download the re-pro case from http://www.pocketsoap.com/osx/emptyFile.zip
run it, enter some text, select save, and choose either XML or
binary format. look at the file, it'll be fine. now select save
again, now the file will be 0k long. (radar #/5575683)

That appears to be a genuine, rather unpleasant, bug.  Thanks for the
report.

This bug affects subclasses of NSPersistentDocument using a store other than SQLite when saving "no changes" on 10.5.


Malcolm has posted some workarounds, which I hope will carry people through until we can fix this.

This bug does not affect non-document based Core Data applications.

- Ben

_______________________________________________

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: Core Data app saving zero length files
      • From: Jeff Hellman <email@hidden>
  • Prev by Date: re: CoreData SQL relaunch issue
  • Next by Date: Re: [Moderator] Please take this to another forum - Re: Adding an icon to the dock
  • Previous by thread: Re: Core Data app saving zero length files
  • Next by thread: Re: Core Data app saving zero length files
  • Index(es):
    • Date
    • Thread