Skip to main content
Inspiring
Aug 8, 2012 3:37 AM UTC
Question

When PersistenceManager save() returns false...

When PersistenceManager save() returns false what are the likely causes of the failure? Is it safe to simply retry or retry after a short delay?

The documentation is lacking with answers on these questions.

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

chris.campbell
Legend
Aug 9, 2012 8:25 PM UTC

I'm trying to track down an answer for you.  I'd also recommend cross posting this over in the Flex forums.

Translate
chris.campbell
Legend
Aug 10, 2012 6:29 PM UTC

Here's what I've been able to find out:

The code for the save() method does not give any indication why it could fail.  However, the comments at the top of the file indicate this is a Local Shared Object.  So anything that applies to LSOs in terms of failing to write to them would apply to PersistenceManager.  I would think that there's nothing wrong with retrying, but more often than not the retry would fail again (some problem with the disk keeping the LSO).

I hope this helps,

Chris

Translate