cancel
Showing results for 
Search instead for 
Did you mean: 

how to replace WebActionsBean class?

adam_bo_
Star Contributor
Star Contributor

In the JSF user interface there is a bug and in the tasks dashboard a next button raises an error:

Caused by: javax.servlet.ServletException: /widgets/actions/document_actions_widget_template.xhtml @12,16 value="#{webActions.getDocumentActions(actionContextDocument, widgetProperty_category, not widgetProperty_disableFiltered, widgetProperty_postFilter)}" Cannot convert org.nuxeo.ecm.platform.task.dashboard.DashBoardItemImpl@106772e2 of type class org.nuxeo.ecm.platform.task.dashboard.DashBoardItemImpl to interface org.nuxeo.ecm.core.api.DocumentModel

One of the obvious solution is to replace the WebActionsBean class by an improved version using a precedence parameter of the install annotation, but there is declared a member of the class MultiNavTreeManager with type of WebActionsBean and the same situation is in the class UserPreferencesActions. The member of type MultiNavTreeManager class is declared in SuggestboxActions class etc.

I am not sure why there is used the WebActionsBean class as a type of members instead of the WebActions interface, but it looks like a bug,

Is there any reasonable way of replacing the WebActionsBean class?

0 REPLIES 0
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.