[EL_SPEC-14] null string value is converted to "" Created: 04/Jul/13 Updated: 07/Oct/13 Resolved: 07/Oct/13
|Resolution:||Works as designed||Votes:||2|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
glassfish 4.0, el 3.0
|Tags:||empty, jsf2_2, string|
null string from JSF is converted to empty string.
|Comment by Kim Haase [ 07/Oct/13 ]|
I believe this bug corresponds to https://java.net/jira/browse/JAVAEETUTORIAL-249. The zip file attached to that issue reproduces the problem on EE 7. I will attach another zip file to that issue to show that the problem is new in EL 3.0, because when the test example is run in an EE 6 environment, it runs correctly.
|Comment by kchung [ 07/Oct/13 ]|
EL 3.0 spec (1.23.2 Coerce A to String) clearly says
If A is null: return ""
So this is behaving according to the spec.