Simon Fell > Its just code > Core Data Document Apps - File Corruption on Leopard

Friday, November 2, 2007

I turned up a rather nasty bug in Document based Core Data apps on Leopard, if you save a document that has no changes, it'll truncate the file to a 0 length (ouch), this only seems to affect the XML and Binary stores, not the SQLLite store. This reply on the cocoa-dev mailing list details a couple of work-arounds to address the issue.