[MGNLUI-5728] Choosers should not allow to select folders Created: 13/Mar/20  Updated: 05/Mar/21  Resolved: 05/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2
Fix Version/s: None

Type: Bug Priority: Trivial
Reporter: Canh Nguyen Assignee: Unassigned
Resolution: Workaround exists Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-03-13-09-40-35-045.png    
Issue Links:
Relates
relates to MGNLDAM-835 Double click in a folder opens an emp... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce

  • Use any chooser and try to select a folder

Expected results

  • Cannot select folders (prevent users from selecting folders)
  • Can only select items

Actual results

  • Folders can be selected but an error is thrown

Workaround

  • N/A (apart from manually avoiding to select folders...)

Development notes



 Comments   
Comment by Šimon Demočko [ 28/Jul/20 ]

This goes for any choosers. E.g. dam chooser. Rewrite ticket to be generic? slutz

Comment by Simon Lutz [ 28/Jul/20 ]

Thanks - done.

Comment by Šimon Demočko [ 28/Jul/20 ]

Thinking further - in some cases folder selection may make sense. We should probably just disable Choose button for not allowed node types - which in some cases may be folder, in other cases may be properties, etc. What do you think?

Comment by Roman Kovařík [ 05/Mar/21 ]

Closing as you can define custom chooser with custom availability rules for commit action.

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