Ticket #2449 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Need a generic properties upgrader

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.3
Component: CPSUtil Version: 3.5.2
Severity: normal Keywords: properties upgrade.
Cc:

Description (last modified by gracinet) (diff)

Objects may have any additional properties, not specified in the _properties class attribute. Defining such additional properties is possible in ZMI or through profiles.

For these objects, _properties is an instance attribute, first copied from the class attribute, and therefore don't reflect changes in the class attribute anymore . A very common case is changing some property type from string to ustring. GenericSetup? profiles import won't do it : they simply work from the attribute.

This is especially true of portal objects, that nowadays have meta_profiles and .cps_themes additional properties, see #2448.

Change History

comment:1 Changed 8 years ago by gracinet

  • Description modified (diff)

fixed wrong ticket reference

comment:2 Changed 8 years ago by gracinet

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.