[MGNLHARDLK-68] Some actions in Resource, Template, Configuration are not disable after lock it Created: 28/Sep/15  Updated: 01/Oct/18  Resolved: 29/Sep/15

Status: Closed
Project: Project - Telia - Hard Locking (closed)
Component/s: None
Affects Version/s: 0.24
Fix Version/s: 0.31

Type: Bug Priority: Neutral
Reporter: Oanh Thai Hoang Assignee: Tran Quang The
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 1d 3h
Original Estimate: 1d

Issue Links:
causality
is causing MGNLHARDLK-69 When unlocking item belong to others,... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:
Account: TeliaSonera (TELIA)
Epic Link: Hard Locking
Sprint: Telia - Sprint 12, Telia - Sprint 13

 Description   

In Configuration, Template, Resource, there are some actions do not disable or hide after lock. The root cause is writePermissionRequired property do not set in those action

  • Page detail app: "Edit page properties"
  • Dam detail app: "SAVE CHANGES"
  • Configuration browser app: "Add folder", "Add node", "Add property", "Delete item", "Rename item", "Edit property", "Move item", "Unpublish", "Publish", "Publish incl. subNodes", "Import"
  • Resource browser app: "Edit resource, Publish, Unpublish"
  • Resource detail app: "SAVE CHANGES"
  • Template browser app: "Add template", "Edit template", "Rename template", "Add folder", "Rename folder", "Import", "Publish", "Unpublish", "Restore previous version", "Publish delettion", "Delete folder", "Delete template"
  • Template detail app: "SAVE CHANGES"


 Comments   
Comment by Oanh Thai Hoang [ 29/Sep/15 ]

Please review in branch MGNLHARDLK-68

Comment by Tran Quang The [ 30/Sep/15 ]

The action bar are not updated after executing unlock action.

Step to reproduce:

  1. Open Resource app
  2. Select one resource to lock: the lock status is updated (OK). Action bar is update, "lock item" is disable, "unlock item" is enable (OK)
  3. Unlock the resource: the lock status is not updated (NOK). Action bar is not updated, "lock item" is still disable, "unlock item" is still enable (NOK)

Expected result:
After executing unlocked action:

  • The lock status must be removed
  • Action bar is update, "lock item" is enable, "unlock item" is disable
Comment by Oanh Thai Hoang [ 01/Oct/15 ]

This is another bug related to send event but action bar did not update: https://jira.magnolia-cms.com/browse/MGNLHARDLK-69

Generated at Mon Feb 12 10:32:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.