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

Wrong order after recursive nodes publication with different node type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 1.0.5
    • Fix Version/s: 1.0.8, 1.1.2
    • Labels:
      None

      Description

      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.

        Checklists

        Acceptance criteria

          Attachments

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

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD