Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5989

JcrPublishedRule evaluates activation status differently than IsPublishedRule

    XMLWordPrintable

Details

    • Yes
    • Maintenance 13
    • 1

    Description

      The issue can be seen in the New Pages app.

      Recreate the issue:

      • Open the new Pages app and edit a page
      • With the edited page selected observe the unpublish action is unavailable.

      Expected:
      You should be able to unpublish a modified page.

      Workaround:
      Use the old Pages app

      Root cause:
      The issue arises from the change in logic between the two rules classes.

      • New class: JcrPublishedRule calls NodeTypes.Activatable.getActivationStatus(item)
      • Old class IsPublishedRule calls NodeTypes.Activatable.isActivated(node)

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              rgange Richard Gange
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0d
                    0d
                    Logged:
                    Time Spent - 20m
                    20m