On Sep 24, 2009, at 8:38 AM, Milen Dzhumerov wrote:

Hi all,

I'm experiencing the weirdest conditional data loss that I've seen in a long time. One of my managed objects has an NSImage property (stored as Transformable). Now here's the bug in summary: If the app bundle which initially created the persistence file (SQLite or XML) gets moved, the icon property doesn't get restored. If I move the bundle back to where it originally was, it gets restored.


We're probably going to need a bit more information than this. You say the icons are "gone". I assume your entity instances are still there and all their other properties are present but only the NSImage attribute is coming back with an empty image?

In that case, how exactly are you creating / storing / accessing this image? That seems to be the most relevant part to all this but one which you've completely left out.

--
I.S.




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to