Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1476

Reordering pages uses wrong path for template availibility check.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • Sprint 1 (Vietnam), Sprint 2 (Basel)
    • 1

      When reordering pages in admincentral the info.magnolia.module.templatingkit.sites.TemplateAvailability#isAvailable check is done with a temporaryNode that has as parent the node that the node to be moved is moved below.
      So for example I have a set of nodes under a NewsOverview when I move node 'News01' below node 'News02' the path for the check is 'News02/temporaryNode'.

      This is incorrect, it should use the parent (the overview) node of node News01 as that is the parent that the node will have after the move, it will not be a child of News02.

      Because our templateavailability disallows news pages as parent of news pages this does not work.

        Acceptance criteria

              trang.truong Trang Truong
              rico.jansen Rico Jansen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1d Original Estimate - 1d
                  1d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 5d
                  5d