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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • 4.5.x
    • 4.5.3
    • rendering

    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) {
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                ndesmarais Natascha Desmarais
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD