Problem with StorageHandler and ViewModel WithParam

Topics: Bugs
Aug 30, 2013 at 10:39 AM
I think that caliburn doesn't support a frequent situation.
I have a ViewModel and I navigate to it using WithParam to a property1. When I create its relative StorageHandler, I cannot configure Id using property1, because its value is available while saving, but not while restoring.
For this reason, the state is the same event for different viewmodel instances. For example, if I navigate to the same viewmodel setting property1 to an other value, event it's a new navigation, the engine try to restore using a state relative to another viewmodel.
How can I resolve this?

Thank you