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

Add widget in Analytic app does not work with 6.2.9

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1.  Open Analytic app
      2.  Click to add widget

      Expected results

      Add widget dialog should be show

      Actual results

      No thing happens

      See error 

      ERROR info.magnolia.analytics.ui.app.VisualFlexDashboardSubAppView 07.06.2021 08:03:22 -- Can not open dialog add widget [] due to error
      java.lang.ClassCastException: class info.magnolia.ui.editor.MultiFormView$MultiField cannot be cast to class com.vaadin.ui.VerticalLayout (info.magnolia.ui.editor.MultiFormView$MultiField and com.vaadin.ui.VerticalLayout are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @1f38957)
      	at info.magnolia.analytics.ui.app.fields.SeriesMultiFormView.getRootLayout(SeriesMultiFormView.java:172) ~[magnolia-analytics-ui-1.2.jar:?]
      	at info.magnolia.analytics.ui.app.fields.SeriesMultiFormView.wrapChildForm(SeriesMultiFormView.java:133) ~[magnolia-analytics-ui-1.2.jar:?]
      	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) ~[?:?]
      	at java.util.Iterator.forEachRemaining(Iterator.java:133) ~[?:?]
      	at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:?]
      	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) ~[?:?]
      	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) ~[?:?]
      	at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
      	at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
      	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
      	at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) ~[?:?]
      	at info.magnolia.ui.editor.MultiFormView.layout(MultiFormView.java:205) ~[magnolia-ui-framework-6.2.9.jar:?]
      	at info.magnolia.ui.editor.MultiFormView.populate(MultiFormView.java:168) ~[magnolia-ui-framework-6.2.9.jar:?]
      	at java.util.Optional.ifPresent(Optional.java:183) ~[?:?]
      

      Workaround

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              oanh.thai Oanh Thai Hoang
              oanh.thai Oanh Thai Hoang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1d 1h
                    1d 1h