[MGNLUI-4207] Replace move-predicates back with drop-constraints, and fix root availability Created: 10/May/17  Updated: 30/Jun/17  Resolved: 26/May/17

Status: Closed
Project: Magnolia UI
Component/s: content app
Affects Version/s: None
Fix Version/s: 5.5.5

Type: Task Priority: Neutral
Reporter: Khuong Nguyen Assignee: Sang Ngo Huu
Resolution: Fixed Votes: 0
Labels: move-dialog
Remaining Estimate: 0d
Time Spent: 5d 7.5h
Original Estimate: 3.5d

Attachments: PNG File Screen Shot 2017-05-10 at 2.17.31 PM.png     PNG File Screen Shot 2017-05-10 at 2.17.41 PM.png    
Issue Links:
Relates
relates to MGNLSITE-79 "Move Before" and "Move After" button... Closed
relates to PAGES-133 Update the TemplateTypeRestrictionDro... Closed
causality
is causing CNTCTSAPP-102 Update the ContactDropConstraint to m... Closed
is causing MGNLCAMPU-60 Update the CampaignDropConstraint to ... Closed
is causing MGNLCAT-173 Update the CategorizationDropConstrai... Closed
is causing MGNLDAM-714 Update the AssetsDropConstraint to ma... Closed
is causing MGNLGROOVY-162 Update the GroovyDropConstraint to ma... Closed
is causing MGNLGS-133 Update the GoogleSiteMapDropConstrain... Closed
is causing MGNLINTEMPL-86 Update the InplaceTemplatingDropConst... Closed
is causing MGNLPN-385 Update the SegmentDropConstraint to m... Closed
is causing MGNLRSSAGG-212 Update the RSSAggregatorDropConstrain... Closed
supersession
supersedes MGNLUI-4194 Generalize code for move-availability... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Release notes required:
Yes
Date of First Response:
Sprint: Saigon 96, Saigon 97
Story Points: 5

 Description   

First, 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.


Generated at Mon Feb 12 09:14:21 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.