original bugid: #6166
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
I moved the 'relations' caches to org.mmbase.cache which fixes the problem with getRelations.
original bugid: #6166
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
I moved the 'relations' caches to org.mmbase.cache which fixes the problem with getRelations.
But still, it seems a dangerous situation.
Can exist contemporary MMObjectNode's representing the same node -> problems with getRelations
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
Michiel Meeuwissen added a comment - 2003-09-11 12:01 Can exist contemporary MMObjectNode's representing the same node -> problems with getRelations
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
Can exist contemporary MMObjectNode's representing the same node -> problems with getRelations
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
I moved the 'relations' caches to org.mmbase.cache which fixes the problem with getRelations.
Michiel Meeuwissen added a comment - 2003-09-11 12:03 Can exist contemporary MMObjectNode's representing the same node -> problems with getRelations
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.
I moved the 'relations' caches to org.mmbase.cache which fixes the problem with getRelations.
But still, it seems a dangerous situation.
Michiel Meeuwissen added a comment - 2009-09-21 21:35 WeakReferences are kept now in the NodeCache. This shoudl ensure that if a refence is hanging around somewhere, that it always be reused.
Because 'relation nodes' are cached in MMObjectNode instances. Invalidating this cache, works then only in one instance.