Project

General

Profile

bug #7206

CdmEntityCache not correctly updating with entitiy graphs loaded afterwards

Added by Andreas Kohlbecker 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
01/18/2018
Due date:
% Done:

100%

Severity:
critical
Found in Version:
Tags:

Description

CdmEntityCache has a couple of problems:

  • entities put in the cache via the add() method may contain entities which are already in the cache. A merge will not happen in this case. This might casue the multiple representations problem
  • entity graphs added via the findOrUpdate() method are only compared at the root entity. In case the root entity is not yet cached the rest of the graph is ignored even if it could contain "multiple representation objects"

Related issues

Related to Edit - bug #7212: CacheLoader replaces loaded entities with uninitialized proxies Resolved 01/23/2018
Related to Edit - bug #7151: entities held in CdmCache can not be modified Rejected 12/22/2017
Related to Edit - task #7325: Taxeditor uses CdmTransientEntityCacher from cdmlib-cache Closed 03/22/2018

Associated revisions

Revision 6e9a10ba (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 migrating taxeditor entity cache into cdmlib module cdmlib-cache
- compiles
- creates cdm.map.ser

Revision 1ba18b26 (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 documenting

Revision b8853d8d (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 replacing CdmEntityCache by CdmTransientEntityCacher and implementing EntityCacheDebugger

Revision 093450dc (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 EntityCacheDebuggerComponent layout improvement and sorting

Revision d0242e14 (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 removing old debug code

Revision baa1ed8b (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 EntityCacheDebugResult improved reporting

Revision e6feb60e (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 fixing multiple representations problem in ToOneRelatedEntityReloader

Revision e26a406b (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 migrating taxeditor entity cache into cdmlib module cdmlib-cache
- compiles
- creates cdm.map.ser

Revision f1d2990c (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 documenting

Revision 5bd01374 (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 EntityCacheDebugResult improved reporting

Revision 2e6db6fc (diff)
Added by Andreas Kohlbecker 11 months ago

ref #7206 using generic method paramaters and return types in cacher classes

History

#2 Updated by Andreas Müller 11 months ago

  • Target version changed from Release 4.13 to Release 4.14

#3 Updated by Andreas Kohlbecker 11 months ago

  • Status changed from New to Closed
  • Target version changed from Release 4.14 to Release 4.13
  • % Done changed from 0 to 100

CdmEntityCache has been completely replaced by CdmTransientEntityCacher

#4 Updated by Andreas Kohlbecker 11 months ago

  • Related to bug #7212: CacheLoader replaces loaded entities with uninitialized proxies added

#5 Updated by Andreas Kohlbecker 11 months ago

  • Related to bug #7151: entities held in CdmCache can not be modified added

#6 Updated by Andreas Kohlbecker 9 months ago

  • Related to task #7325: Taxeditor uses CdmTransientEntityCacher from cdmlib-cache added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)