Ticket #2311 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Improve widget transtyping in GenericSetup import

Reported by: gracinet Owned by: gracinet
Priority: P2 Milestone: CPS 3.5.2
Component: CPSSchemas Version: 3.5.1
Severity: normal Keywords:
Cc:

Description

It is able to perform transtyping if it detects that a widget's meta_type is to be different.

But that doesn't cover the case of the same meta_type for a different class. Zope keeps a reference on the exact class dotted name, and that's a problem in case the class definition moves, e.g, for the current targetted splitting of Products.CPSSchemas.BasicWidgets

By using the widget registry, this is an easy fix.

Change History

comment:1 Changed 9 years ago by gracinet

Fix pushed. Now an actual class comparison occurs

comment:2 Changed 9 years ago by gracinet

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