![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
5.3.5 |
|
Assignee:
|
Unassigned |
|
Components:
|
workbench |
|
Created:
|
21/Nov/14 10:32 AM
|
|
Description:
|
WorkbenchField.initContent() calls this.view.setViewType(TreePresenterDefinition.VIEW_TYPE);
to initialize default view to tree, but when workbench doesn't have a tree and only list or only thumbnails view is configured, this call ends up in WorkbenchViewImpl.setViewType() which does
final Component c = contentViews.get(type).asVaadinComponent();
... and since tree type is not in the list of views it fails w/ NPE.
It should either signal back to field that request can't be fulfilled, or field should check for existence of tree before trying to set it or there should be some fallback to first available view or ...
|
|
Project:
|
Magnolia UI
|
|
Priority:
|
Neutral
|
|
Reporter:
|
Jan Haderka
|
|
Security Level:
|
Public |
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <
[email protected]>
----------------------------------------------------------------