• 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: CoreData Mysterious Conditional Data Loss
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData Mysterious Conditional Data Loss


  • Subject: Re: CoreData Mysterious Conditional Data Loss
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 24 Sep 2009 09:20:11 -0400

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 (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: CoreData Mysterious Conditional Data Loss
      • From: Milen Dzhumerov <email@hidden>
References: 
 >CoreData Mysterious Conditional Data Loss (From: Milen Dzhumerov <email@hidden>)

  • Prev by Date: Re: login items hide box
  • Next by Date: iPhone to Mac Synchronization
  • Previous by thread: CoreData Mysterious Conditional Data Loss
  • Next by thread: Re: CoreData Mysterious Conditional Data Loss
  • Index(es):
    • Date
    • Thread