Uploaded image for project: 'Publishing'
  1. Publishing
  2. PUBLISHING-52

Wrong order after recursive nodes publication with different node type

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.8, 1.1.2
    • 1.0.5
    • None

      When publishing recursively a node and its children having those different node types, order is not preserved in the public instance.

      Steps to reproduce:

      1. From JCR browser create a node of type folder in any workspace.
      2. Create different child nodes with different types
      3. Publish node created in step 1 with subnodes
      4. Go to Public instance and check that the order is not preserved

      Repeat these steps without changing node types, now order is preserved in the public instance.

      The attached AUTHOR.png shows test-ordering node with different types and test-ordering2 with same type. In the PUBLIC picture it can be seen that the order is not preserved.

      It seems that info.magnolia.publishing.sender.AbstractSender.getOrderingInfo(Node) method takes into account the type of node by calling info.magnolia.jcr.util.NodeUtil.getSiblingsAfter(Node, String) 

      This problem was already fixed in Activation Module (not yet applied to Publishing). Check linked tickets.

        Acceptance criteria

          1. PUBLIC.png
            PUBLIC.png
            134 kB
          2. AUTHOR.png
            AUTHOR.png
            152 kB

              apchelintcev Aleksandr Pchelintcev
              jayala Jonathan Ayala
              Nucleus
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD