[MGNLRES-366] Folders in the Resource Files app shouldn't be editable by doubleclicking them Created: 12/Apr/21  Updated: 20/Jul/22  Resolved: 24/Jun/22

Status: Closed
Project: Magnolia Resources Module
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.7

Type: Bug Priority: Neutral
Reporter: Martin Drápela Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2021-04-12-13-16-01-286.png     File vokoscreen-2021-04-12_12-02-54.mkv    
Issue Links:
Problem/Incident
is caused by CONTEDIT-323 DOC: Update Stories app page for v 2.0 Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLRES-379 Provide a fixed configuration Sub-task Completed Adam Siska  
MGNLRES-380 Code review Sub-task Completed Roman Kovařík  
MGNLRES-381 Preint QA Sub-task Completed Roman Kovařík  
MGNLRES-382 Integrate Sub-task Completed Adam Siska  
MGNLRES-383 QA Sub-task Completed Jaromir Sarf  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Epic Link: Nucleus Quality Maintenance
Sprint: Nucleus 13
Story Points: 1
Team: Nucleus

 Description   

When a folder is selected in the Resource Files app, the edit action is not available in the Action bar.

However, the user can still (by mistake) doubleclick the folder, which opens the edit dialog.

If the user then saves the form, the file browser opens with an erratic behavior:

1) A same-name file is created that if clicked, selects the original folder.
2) The original file in the folder is copy-moved up to the folder level.  The original file in the folder becomes just an unclickable anchor for the new file:
vokoscreen-2021-04-12_12-02-54.mkv

Issue observed in:

Version number : 6.2.8 STORIESAPP (Snapshot: 2021.04.06 12:51:40)
Core version   : 6.2.8-SNAPSHOT
Build          : 6. April 2021 (rev. 97215bbb

Expected result 

Doubleclicking a folder does not open the resource edit dialog.

 

 

 

 



 Comments   
Comment by Adam Siska [ 23/May/22 ]

Discovery:

  • editFile is default action and is missing a "not a folder" rule:
    IsResourceFolderRule:
                  implementationClass: info.magnolia.resources.app.availability.IsResourceFolderRule
                  negate: true 
Generated at Mon Feb 12 06:49:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.