MGNLUI-4194 was replacing MovePossibilityPredicates and unifying them with DropConstraints. However this was partially reverted because of this issue.
Availability of move before and move after in move dialogs is incorrect.
Steps to reproduce:
- Reapply the replacement of move-predicates with drop-constraints, in MoveDialogPresenterImpl, see the revert commit
- Open Asset app, select "/tours/shark_brian_warrick_0824"
- Choose "Move Asset"
- In Move Dialog, select "travel-demo", then "unselected" (no item selected)
=> Expected: Move Before and Move After are disabled
=> Actual: Move Before and Move After are enabled (when we click on Move After/Move Before, error will happen.).
This issue occurs in Pages, Asset, JCR and Site app.