Ticket #851 (new enhancement)

Opened 3 years ago

Last modified 1 week ago

Provide a mean to upgrade flexible documents

Reported by: jmorliaguet Assigned to: madarche
Priority: P1 Milestone: CPS 3.4.7
Component: CPSDocument Version: TRUNK
Severity: normal Keywords: flexible layouts schemas
Cc:

Description (Last modified by madarche)

The layout changes done on flexible layouts do not affect already created instance.

There should be a way to upgrade documents that contain flexible layouts.

Change History

09/14/05 13:48:17 changed by fguillaume

  • priority changed from P2 to P3.
  • milestone changed from CPS 3.4.0 to CPS 3.5.0.

04/02/07 11:23:32 changed by madarche

  • owner changed from fguillaume to madarche.
  • priority changed from P3 to P1.
  • milestone changed from CPS 3.5.0 to CPS 3.4.5.

04/03/07 17:26:32 changed by madarche

  • milestone changed from CPS 3.5.0 to CPS 3.4.5.

05/02/07 17:31:58 changed by madarche

  • keywords changed from flexible layouts to flexible layouts schemas.
  • description changed.
  • summary changed from upgrading flexible documents to Provide a mean to upgrade flexible documents.

Here is below a proposed implementation :

A. The layout properties should be read from the original layout instead of being duplicated.

B. The layout widgets properties should be read from the original layout widgets, except for the fields property, instead of being duplicated.

C. A batch process shall be created :

  1. to add the new fields in the flexible schemas
  2. to add the references to those new fields in the widgets fields property

A. and B. will help with use cases such as "I have modified a property in a widget and my flexible document has not been updated".

C. will help with use cases such as "With this new version of CPS there is a new field that doesn't appear in a widget of a flexible document". C. will be costly to run and should be run whenever schemas and layouts change.

10/03/08 20:26:44 changed by gracinet

Sounds good.