Hi Sabine, Norbert,

It is nice to have feedbacks from other Voyagers ;)

Thanks about the notice regarding reset on the repository.
It may have implication I should be careful about, but not in my
scenario because:

- I start with empty collections in the repository, for the model part,
- I import in the repository a model instance. The model instance comes
from a Fuel document,
- When I edit an instance (a person data), then save, I got a
supplementary entry in the repo.

No where in this scenario I execute a reset, at least from my code.

I must stress the same instance duplication occurs when I inspect an
instance, edit one attribute from the inspector, then save it from the
inspector with "self save" command.

Hilaire


Le 04/03/2017 à 12:21, Sabine Manaa a écrit :
> did you do VORepository current reset in the meantime?
> 
> If yes, this could be the reason. If you do this, the smalltalk  cache
> of the objects is reset and the next time the objects are loaded again
> from mongo and then they are no longer "the same" objects within
> smalltalk. I had a hard time to learn this. 

-- 
Dr. Geo
http://drgeo.eu


Reply via email to