[MGNLRESTCL-85] Double click in browser subapp causes exception when defaultAction configured Created: 21/Oct/19  Updated: 08/Nov/19  Resolved: 08/Nov/19

Status: Closed
Project: REST Client
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-5468 Grid: Double click triggers default a... 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:
Epic Link: Declarative REST clients

 Description   

In an browser subapp configured to use a jsonDatasource, and with a defaultAction configured to launch the detail subapp, double-clicking on an item causes an exception.

However if the item is first selected (so that it is hilighted), and then you doubleclick on it, then it performs the action correctly.

Example app which exhibits this problem:

https://git.magnolia-cms.com/users/czimmermann/repos/restclient-testing/browse/light-modules/rc-transportation-demo/apps/stations.yaml

 

To reproduce, just download/clone the full project and drop it into your light-modules/resources directory.

Note: Im not sure if the problem is specifically related to the jsonDatasource, but I was not able to reproduce in any other M6 ui apps. 

(Note2: Its possible that the app is incorrectly configured! I just added the defaultAction property. Is something else required?)



 Comments   
Comment by Roman Kovařík [ 21/Oct/19 ]

Experienced in other apps (migrated pages-app). Looks like a generic UI issue.

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