![]() |
|
|
|
|
Change By:
|
Eric Hechinger
(24/Jan/14 1:10 PM)
|
|
Description:
|
This
The
RadioSwitchControlMigrator uses the
ControlMigratorRegistery in order to migrate sub fields. Unfortunately the controlMigrationMap is initialized based on the ControlMigratorRegistery during RadioSwitchControlMigrator class construction and has a restricted migrator visibility.
Let say that we have the following module dependency:
Module UI Module Form Module Data Module Custom --> defines a RadioSwitchControl in relation with a Custom control.
Module form initializes controlMigrationMap with the migrator defined in UI and Form module. The migration of the RadioSwitchControl in the Custom module will fail because the Custom control was not register at the time
RadioSwitchControlMigrator
was constructed.
RadioSwitchControlMigrator
has to access ControlMigratorRegistery once the
Migrator.
migrate
() method
is called and not during construction.
Currently the controlMigrationMap is initialize during construction and do not contain migrator register by modules version handler register later.
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------