Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3.16
-
None
-
Tomcat/Centos
Description
I have noticed that my patch does not handle integers correctly, alas, we need to do another change
It does kind of the same check, but this works with integers/doubles.
Object value = findValue(this.value); if (suppressEmptyParameters) { if (value != null && !value.toString().isEmpty()){ component.addParameter(name, value); } } else{ component.addParameter(name, value); }
existing code:
if (suppressEmptyParameters) { String potentialValue = (String) value; if (potentialValue != null && potentialValue.length() > 0) { component.addParameter(name, value); } } else { component.addParameter(name, value); }
Attachments
Issue Links
- is broken by
-
WW-4088 Supressing empty parameters on <s:a> tag
- Closed