Red Hat Bugzilla – Bug 1264559
Tomcat Issue #53001 exists within Red Hat version
Last modified: 2017-09-14 07:31:34 EDT
Description of problem:
Tomcat issue #53001 (https://bz.apache.org/bugzilla/show_bug.cgi?id=53001) related to resolution of resources referenced by EL expressions exists within current Red Hat version. This bug was resolved in Tomcat 6.0.36. Is it possible to have this fix backported to the Red Hat version?
Version-Release number of selected component (if applicable):
JspPropertyNotFoundException is thrown by the application and the affected webpage fails to render
Webpage is successfully rendered and missing resource is displayed in the form - '???<resource-key>???'
The fix that is required is http://svn.apache.org/r1343356. The class (ResourceBundleELResolver) is pretty different between the RHEL version (6.0.24) and 6.0.36, but I think that the change is small enough that it won't affect much other than fix the bug. I'd have to look into it further to verify that it won't break anything though.
> I'd have to look into it further to verify that it won't break anything though.
Dear Coty, any additional news here? Should I be worried about loads of regressions? If you didn't dig deeper, ping me and I will. THX
> Dear Coty, any additional news here? Should I be worried about loads of
> regressions? If you didn't dig deeper, ping me and I will. THX
I already incorporated the change (it's only about -4/+4 lines) and did some basic testing with it. I also looked back at the attached asf bz (53001) as well as the bz that introduced the behavior (asf bz 46915). As it turns out, the behavior that was added is not spec compliant, so adding it back is enforcing the spec.
I can't see how this could break anything else. Please take a quick look to see if you have any other concerns and let me know.
THX for an additional intel Coty. Acking.
Output is not '???<resource-key>???', it is ""
The response did not follow pattern:
when resource key is missing.