[ANALYTICS-247] Exception thrown when trying to preview widget Created: 13/Oct/20  Updated: 10/Nov/20  Resolved: 10/Nov/20

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: 1.2
Fix Version/s: 1.2

Type: Bug Priority: Neutral
Reporter: Julie Legendre Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File 2020-10-13_17-01-37.png     Text File log error analytics add widget.txt    
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
Epic Link: UI/UX Dash improvements

 Description   

Steps to reproduce:

  1. In analytics app demo dashboard, add a new widget.
  2. Select content tags data supplier or most active users (no issue with the dummy data as the fields in step 2 are prefilled).  
  3. In step 2 of the widget wizard, click preview widget before selecting data.

>>> Result is the screenshot attached + ERROR in log + Notification:
{}

RpcInvocationException: Unable to invoke method click in com.vaadin.shared.ui.button.ButtonServerRpc
caused by InvocationTargetException
caused by MethodException: Invocation of method buttonClick in info.magnolia.ui.dialog.ActionButton$$Lambda$2502/1573318614 failed.
caused by RuntimeException: info.magnolia.ui.api.action.ActionExecutionException: Action execution failed for action: preview
caused by ActionExecutionException: Action execution failed for action: preview
caused by IllegalStateException: Failed to write form state
caused by ValidationException: Validation has failed for some fields 

Expected behaviour: just the message about the required field. Or maybe another message saying "Choose data to be able to preview your widget".


Generated at Sun Feb 11 23:17:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.