[ 
http://jira.magnolia-cms.com/browse/MGNLMIGRATION-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka updated MGNLMIGRATION-217:
--------------------------------------

    Summary: Footer content is not correctly migrated, the footer is 
transformed into a component but it should be an area  (was: Footer content is 
not correctly migrated, the footer is transformed as an component but it should 
be an area)

> Footer content is not correctly migrated, the footer is transformed into a 
> component but it should be an area
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: MGNLMIGRATION-217
>                 URL: http://jira.magnolia-cms.com/browse/MGNLMIGRATION-217
>             Project: Magnolia Migration
>          Issue Type: Bug
>          Components: Migration Task
>            Reporter: Samuel Schmitt
>            Assignee: Samuel Schmitt
>            Priority: Critical
>             Fix For: 1.2.1
>
>         Attachments: footer-config-4.4.png
>
>
> The task that transform the primary type 
> ({{info.magnolia.migration.task.content.UpdateWebsitePrimaryTypeMigrationTask}})
>  change the primary type of a STK footer area into {{mgnl:component}} instead 
> of {{mgnl:area}}.
> Why? Because the logic that return the new type is doing the following:
> If the "old type" is Content, then the "new type" is page.
> If the "old type" is ContentNode, then the new type is Area only if the node 
> has no template assigned to it,otherwise it's a component.
> Check here 
> {{info.magnolia.migration.task.content.UpdateWebsitePrimaryTypeMigrationTask.getNewType(Node)}}.
> Footer is a special case, it an area for the 4.4 world of Magnolia but is has 
> a template. Now in 4.5 it is still an area but its transformation must be 
> handled differently by the migration.
> !footer-config-4.4.png!
> h5. Todo
> Update {{UpdateWebsiteMainContentMigrationTask}} and add a special treatment 
> for the footer.
> It must be an area and the template assigned must be removed.
> Do it in this method because footer is a STK specific area.
> The doc must also mention that, please update the page 
> http://wiki.magnolia-cms.com/pages/viewpage.action?pageId=56363441#MigrationprocessVersionupto12-4TransformSTK-basedwebsites

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
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]>
----------------------------------------------------------------

Reply via email to