Uploaded image for project: 'Activation'
  1. Activation
  2. MGNLACTIVATION-139

Wrong nodes order after publishing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 5.4.6, 5.5.3
    • 5.4.5, 5.5
    • None
    • Kromeriz 90
    • 2

      Wrong nodes order after publishing in multiple nodetypes content app.
      Steps to reproduce:
      Open asset app and create a structure as below:

      Publish it to public instance, then the '0' folder has been dropped to the bottom:

      Thanks to mchruscielewski for your provided info:

      In ActivationCommand, method protected List getOrderingInfo(Content node) builds list of siblings in correct order for reordering after publication, but it will work only if siblings are of the same type. As we can have multiple node types in one content app (like I have here), it cause order problem I experienced.
      Please consult somebody if this is expected behaviour, and maybe document it somewhere?
      My workaround was to extend activationCommand class and change this sibling type check, to accept all my custom node types.

        Acceptance criteria

              ajuran AntonĂ­n Juran
              viet.nguyen Viet Nguyen
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD