Ticket #1669 (new defect)

Opened 13 years ago

Last modified 13 years ago

"Upgrade news item instances to become flexible" always proposed

Reported by: ybastide Owned by: fguillaume
Priority: P2 Milestone: CPS 3.5.7
Component: CPSDocument Version: TRUNK
Severity: minor Keywords:
Cc:

Description

CPSDocument.upgrade.check_338_340_newsitem_to_flex is overzealous: it doesn't check if the upgrade have already been applied. As a consequence, portal_setup always proposes to upgrade news item instances.

Attachments

CPSDocument-upgrade.py.diff Download (506 bytes) - added by ybastide 13 years ago.
Suggested patch

Change History

Changed 13 years ago by ybastide

Suggested patch

comment:1 Changed 13 years ago by ybastide

When applying the patch, please correct the 'alredy' typo copy & pasted from check_338_340_document_to_flex :-)

Note: See TracTickets for help on using tickets.