Adding additional autogenerated areas/components does not work for existing
pages
---------------------------------------------------------------------------------
Key: MAGNOLIA-4482
URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-4482
Project: Magnolia
Issue Type: Bug
Security Level: Public
Components: templating, templating components
Affects Versions: 4.5.3
Reporter: Natascha Desmarais
Assignee: Philipp Bärfuss
Fix For: 4.5.5
When you need to add an additional autogenerated area or component to an
already existing definition with the CopyGenerator, the new area/component does
not appear for already existing pages. New pages get the additional items,
however.
This might be due to the {{break}} in
{{info.magnolia.rendering.generator.CopyGenerator}}:
{code:title=CopyGenerator.java|borderStyle=solid}
98 try {
99 if(parentNode != null && parentNode.hasNode(name)) {
100 log.debug("path {} was already found in repository. No need to
create it.", parentNode.getPath() + "/" + name);
101 break;
102 }
103 } catch (RepositoryException re) {
{code}
--
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]>
----------------------------------------------------------------