-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 10.10
-
Fix Version/s: None
-
Component/s: Web UI
-
Backlog priority:750
-
Team:GANG
-
Sprint:nxGang Sprint 11.1.19
-
Story Points:5
Steps to reproduce:
- Select a Previously Saved Search from the drop down
- Add additional filters/search criteria
- Click "Save As"
- Enter a new name and hit "Save"
- Observe that nothing happens: the popup is still displayed
Expected Behavior: a new saved search would be created and the popup is closed.
Looking at the Browser console, there is a HTTP 500 error
Looking at Nuxeo logs, there is this stacktrace
ERROR [WebEngineExceptionMapper] java.lang.ClassCastException: org.nuxeo.ecm.core.schema.types.SimpleTypeImpl cannot be cast to org.nuxeo.ecm.core.schema.types.ComplexType java.lang.ClassCastException: org.nuxeo.ecm.core.schema.types.SimpleTypeImpl cannot be cast to org.nuxeo.ecm.core.schema.types.ComplexType at org.nuxeo.ecm.automation.core.util.ComplexTypeJSONDecoder.decodeList(ComplexTypeJSONDecoder.java:80) ~[nuxeo-automation-core-10.10-HF08.jar:?] at org.nuxeo.ecm.automation.core.util.ComplexTypeJSONDecoder.decodeList(ComplexTypeJSONDecoder.java:69) ~[nuxeo-automation-core-10.10-HF08.jar:?] at org.nuxeo.ecm.automation.core.util.DocumentHelper.setProperty(DocumentHelper.java:295) ~[nuxeo-automation-core-10.10-HF08.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.search.SearchObject.setSaveSearchParams(SearchObject.java:263) ~[nuxeo-search-rest-api-10.10.jar:?] at org.nuxeo.ecm.restapi.server.jaxrs.search.SearchObject.doSaveSearch(SearchObject.java:179) ~[nuxeo-search-rest-api-10.10.jar:?]