[ https://issues.jboss.org/browse/RF-13648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972814#comment-12972814 ]
Juraj Húska commented on RF-13648: ---------------------------------- Thank you [~tony.cramer] for the reproducer. However, I need to repeat my previous conclusion. The behavior is expected, and it is defined in EL specification. It worked prior Tomcat 8.0.8 because there was a [bug|https://issues.apache.org/bugzilla/show_bug.cgi?id=56522#c1] in jasper, which is now fixed and meets the EL spec. There is an [issue|https://java.net/jira/browse/EL_SPEC-18] filed for EL spec though, which should address your problem. This is not a RichFaces bug. > Graph Validator + Tomcat 8.0.8: interpret empty strings as null is ignored > -------------------------------------------------------------------------- > > Key: RF-13648 > URL: https://issues.jboss.org/browse/RF-13648 > Project: RichFaces > Issue Type: Bug > Security Level: Public(Everyone can see) > Affects Versions: 4.3.7 > Environment: Tomcat 8.0.8, OpenJDK 7, OpenSuse 13.1 x64 > Reporter: Tony Cramer > Assignee: Juraj Húska > Attachments: rf-demo.zip > > > {{javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL}} is ignored > during Graph validating. > Some debugging info: > Object being validated ({{value}} argument) in method > {{org.richfaces.validator.BeanValidatorServiceImpl.validateObject}} contains > empty strings (""). > Expected behavior: There should be nulls in properties, because interpreting > empty strings as null is enabled. > This causes validation to not pass. > Something has changed in _jasper-el_ in Tomcat 8.0.8 which I updated recently > from 8.0.5. If I replace _jasper-el.jar_ from Tomcat 8.0.5, everything works. > Tomcat bug or RF bug? > Edit: > It's definitely JSF/RF's issue. Tomcat EL has changed to meet EL spec. > https://issues.apache.org/bugzilla/show_bug.cgi?id=56522 > Edit: > Simple project for reproducing the issue attached (rf-demo.zip). > - Build WAR with Maven (3.2.1 tested) > - Get a clean Tomcat 8.0.8, unpack > - Place WAR into webapps > - Run tomcat > - Open http://localhost:8080/rf-demo-1.0-SNAPSHOT -- This message was sent by Atlassian JIRA (v6.2.3#6260) _______________________________________________ richfaces-issues mailing list richfaces-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/richfaces-issues