MMBase

Can exist contemporary MMObjectNode's representing the same node -> problems with getRelations

Details

  • Type: Bug Bug
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.7.0
  • Fix Version/s: 2.0.0
  • Component/s: Core
  • Description:
    Hide
    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.
    Show
    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.

Activity

Repository Revision Date User Message
MMBase SVN #38734 Mon Sep 21 21:30:00 CEST 2009 michiel MMB-411. Keeping weak references to all MMObjectNodes and use those if possible. This should make it more or less impossible to have 2 instances representing the same node in the database
Files Changed
MODIFY /mmbase/trunk/core/src/main/java/org/mmbase/cache/NodeCache.java

People

Dates

  • Created:
    2004-01-09 22:50
    Updated:
    2010-10-15 14:36