Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.27
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Yes
-
Nucleus 28
-
2
Description
Steps to reproduce
- 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
- 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
- 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
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-7125 Warning in logs: Encountered the '$type' property but failed to resolved the type from its value
-
- Closed
-
- depends upon
-
MGNLUI-7713 As developer I can use $type for an ExtensionView
-
- Closed
-
1.
|
Implementation |
|
Completed | Daniel Alonso |
2.
|
Refine implementation |
|
Completed | Adam Siska |
3.
|
PI QA |
|
Completed | Adam Siska |
4.
|
QA |
|
Completed | Adam Siska |
5.
|
REVIEW |
|
Completed | Roman Kovařík |
6.
|
Discovering/fixing failed test caused by raising magnolia dependency in module |
|
Completed | Adam Siska |
7.
|
Create ticket in ANALYTICS project to raise magnolia version to not lose the upgrading effort done |
|
Completed | Adam Siska |
8.
|
Docu |
|
Completed | Adrian Brooks |