Uploaded image for project: 'Analytics'
  1. Analytics
  2. ANALYTICS-247

Exception thrown when trying to preview widget

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • 1.2
    • 1.2
    • None

    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".

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jlegendre Julie Legendre
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD