Skip navigation.
 
mlRe: Core Data app saving zero length files
FROM : Jeff Hellman
DATE : Sun Nov 04 01:58:15 2007

I'd like to thank those on the list who identified this problem, and 
mmalc for the workaround solution.

My shipping app (planbook- downloadable at www.hellmansoft.com) was 
bitten by this one, but with your help I was able to quickly patch my 
app and avoid further data loss among my users.

This is, IMHO, a huge bug (my users lost hours and hours of work- of 
course they should have been backing up more frequently) and I hope 
that other core data document based application developers quickly 
patch their programs!

Jeff

Sent from my iPhone

On Nov 3, 2007, at 5:01 PM, Ben Trumbull <<email_removed>> wrote:

>>> 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_removed>)
>
> 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_removed>
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlCore Data app saving zero length files Simon Fell Nov 2, 06:01
mlRe: Core Data app saving zero length files Simon Fell Nov 2, 06:44
mlRe: Core Data app saving zero length files mmalc crawford Nov 2, 10:22
mlRe: Core Data app saving zero length files Ben Trumbull Nov 4, 01:01
mlRe: Core Data app saving zero length files Jeff Hellman Nov 4, 01:58