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

Allow define DropConstraint for CanMoveRule

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 6.2.12
    • None
    • None
    • None
    • Yes
    • Yes
    • UI FW 34
    • 0

    Description

      CanMoveRule only checks if item isn't moved to inside himself, but we need to define dropConstrain for more complex checks.
      In Magnolia 5 framework dropConstraint was defined on workbench level and it was used by views and actions, but in Magnolia 6 framework this is defined on view level. That means action/rules doesn't have access to it an we need to define dropConstrain directly in CanMoveRule.

      AC:

      • Allow specify dropConstrain in CanMoveRuleDefinition

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mdivilek Milan Divilek
                mdivilek Milan Divilek
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD