- nuxeo-server-9.3-I20171102_1128-tomcat.zip
- mp-list shows:
addon started nuxeo-web-ui (id: nuxeo-web-ui-1.1.3-I20171102_1414)
- add a string property
- add a multivalued complex property to a schema
- add 2 string properties and 1 date to the complex
- set both string properties as required (inside the complex)
- in designer generate the forms for the custom document
- check in the source code that both fields have the required attribute set
- synchronize the project on the server side
- try to create a custom document by filling only the string property and not adding any complex
- observe nothing happens
- check the server logs:
2017-11-02 16:45:22,949 WARN [http-nio-0.0.0.0-8080-exec-1] [com.sun.jersey.spi.inject.Errors] The following warnings have been detected with resource and/or provider classes: WARNING: A HTTP GET method, public java.lang.String org.nuxeo.elasticsearch.http.readonly.Main.searchWithPayload(javax.ws.rs.core.UriInfo,javax.ws.rs.core.MultivaluedMap) throws java.io.IOException,org.json.JSONException, should not consume any entity. WARNING: A HTTP GET method, public java.lang.String org.nuxeo.elasticsearch.http.readonly.Main.searchWithPayload(java.lang.String,java.lang.String,javax.ws.rs.core.UriInfo,javax.ws.rs.core.MultivaluedMap) throws java.io.IOException,org.json.JSONException, should not consume any entity. WARNING: A HTTP GET method, public java.lang.String org.nuxeo.elasticsearch.http.readonly.Main.searchWithPayload(java.lang.String,javax.ws.rs.core.UriInfo,javax.ws.rs.core.MultivaluedMap) throws java.io.IOException,org.json.JSONException, should not consume any entity.
- now click the add button for the complex property
- fill in the string fields and click ok
- save the form
- observe this time the document is created properly
- duplicates
-
ELEMENTS-441 Fix complex property editing on data table
- Resolved
- is required by
-
NXP-23752 Fix form validation
- Resolved