Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-4482

Adding additional autogenerated areas/components does not work for existing pages

    Details

    • Type: Bug
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: 4.5.3
    • Fix Version/s: 4.5.x
    • Component/s: rendering
    • Labels:

      Description

      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:

      CopyGenerator.java
        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) {
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ndesmarais Natascha Desmarais
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: