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

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

XMLWordPrintable

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

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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD