Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8710

$type: analyticsView doesn't work since Magnolia 6.2.27

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.3.0, 6.2.28
    • 6.2.27
    • None
    • None
    • Yes
    • Yes
    • Nucleus 28
    • 2

      Steps to reproduce

      1. Put any of these definitions or whole modules into Magnolia 6.2.27 webapp: https://git.magnolia-cms.com/plugins/servlet/search?q=analyticsView%20lang%3Ayaml
      2. You should see an error in logs 
      Severity type:   MAJOR 
      Title:           pages-app/subApps/browser/workbench/extensionViews/0/analytics: [Definition resolution] - Source data processing problem 
      Problem details: No simple constructor found for type [interface info.magnolia.ui.ViewDefinition], null is returned
      1. The affected apps fail to start. with logs
      Caused by: info.magnolia.objectfactory.MgnlInstantiationException: Failed to create an instance with c-tor [ContentViews(WorkbenchContext, ContentViewsDefinition, List)]
      ....
      Caused by: java.lang.NullPointerException
      	at info.magnolia.ui.contentapp.browser.ContentViews.lambda$new$0(ContentViews.java:89) ~[magnolia-ui-framework-6.2.27.jar:?]

      Expected results

      $type: analyticsView doesn't produce any definition problem and can be used

      Actual results

      $type: analyticsView doesn't produce definition problem and can't be used

      Workaround

      Replace

      $type: analyticsView 

      by 

      class: info.magnolia.analytics.ui.app.view.extension.AnalyticsViewDefinition

        Acceptance criteria

              asiska Adam Siska
              rfalvo Raphael Falvo
              Nucleus
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD