Project

General

Profile

Actions

bug #7154

closed

CdmEntityCache can update cached entities

Added by Andreas Kohlbecker about 6 years ago. Updated about 6 years ago.

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

100%

Estimated time:
Severity:
critical
Found in Version:
Tags:

Description

The CdmEntityCache implemented with cdm-vaadin|02ec8d6 & cdm-vaadin|5e97d77 is used in the ToOneRelatedEntityReloader to avoid java.lang.IllegalStateException: Multiple representations of the same entity problems in ToOneRelatedEntityFields.

However when the related entity is being modified via the edit button of the ToOneRelatedEntityField the modification will be reseted again by re-saving the old version of the entity which is cached in the CdmEntityCache.

To overcome this problem the CdmEntityCache needs to implement a method which allows to update the cached entity in case the entity used in the ToOneRelatedEntityField has an later updatedWhen value. The properties of later updated entity should be copied over to the cached entity.

Actions #1

Updated by Andreas Kohlbecker about 6 years ago

  • Subject changed from CdmEntityCache an update cached entities to CdmEntityCache can update cached entities
Actions #2

Updated by Andreas Kohlbecker about 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #3

Updated by Andreas Kohlbecker about 6 years ago

  • Status changed from Resolved to Closed
  • % Done changed from 50 to 100
Actions

Also available in: Atom PDF