-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 23.1
-
Component/s: Layouts & Widgets
-
Tags:
-
Sprint:nxNag Sprint 7.3.5, nxNag Sprint 7.3.6
-
Story Points:3
Step to reproduce:
- Go to an existing Content View
- in the Search Layout part, add a Generic Search widget configured with :
* Field = dc:title (String) * Operator = ILIKE * Widget type = template
- code of the template
<div xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"> <h:inputText id="#{widget.id}_field0" value="#{field_0}"> </h:inputText> </div>
- hot-reload the project
- go to the content view and type some text in the filter. Submit
- the filter is not applied
- in the logs, there is a message like
WARN [DocumentModelResolver] Property Conversion failed from class java.lang.String to class [Ljava.lang.Object;: /Lmondoc_cv:dc_title
Looking at the generated schema for the content view, the field is defined as multivalued whereas it should be monovalued
<xs:element name="dc_title" type="nxs:stringList"/>
- depends on
-
NXS-2716 Fix "(TypeError) : opEnum is null" error when editing a Full text widget
- Resolved
- is required by
-
NXS-2719 "Multiple" boolean checkbox disappears after saving widget configuration
- Resolved
-
NXS-2723 Hide "Store entered values as list" option on ILIKE operator / text widget combination
- Resolved
-
NXS-2339 Enable Text widget and LIKE / ILIKE operator for multivalued scalar properties in content view filters
- Resolved