• 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: Simon Fell <email@hidden>
  • Date: Thu, 1 Nov 2007 22:44:04 -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)

Cheers
Simon

On Nov 1, 2007, at 10:01 PM, Simon Fell wrote:

Hi,

I have a core data document based app that i wrote on Tiger, since moving to Leopard I've noticed that if I open an existing document, make no changes, and then save it, it saves a zero length file only, all the data is gone. If you make some changes to the document between open and save, then everything appears fine. (I'm using the XML store)

I've rebuilt the app on Leopard, and it made no difference. I'm going to start digging through it, but has anyone seen anything similar? seems like it could be a serious issue.

Thanks
Simon
_______________________________________________

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: mmalc crawford <email@hidden>
References: 
 >Core Data app saving zero length files (From: Simon Fell <email@hidden>)

  • Prev by Date: Re: SecKeychainItemCopyContent for ppc on Leopard
  • Next by Date: Re: CILinearGradient drawing backwards in 10.5
  • Previous by thread: Core Data app saving zero length files
  • Next by thread: Re: Core Data app saving zero length files
  • Index(es):
    • Date
    • Thread