Bug 114830
Summary: | On Tomcat 4.1 the public item view never changes after the first viewing | ||
---|---|---|---|
Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Daniel Berrangé <berrange> |
Component: | other | Assignee: | ccm-bugs-list |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-02-05 14:53:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 113496 |
Description
Daniel Berrangé
2004-02-03 13:00:03 UTC
RC1 Blocker It turns out that if you have a JSP tag <foo:bar> Then, rather than creating the object corresponding to foo:bar on every request, it is valid for the servlet container to keep a pool of pre-created objects around. The bebop JSP ShowAll tag has a dubious piece of code: if (m_inputDoc == null) { m_inputDoc = (com.arsdigita.xml.Document)pageContext.getRequest() .getAttribute(INPUT_DOC_ATTRIBUTE); } Now since the Tag object can be cached, the effect this has is that this tag object will always output the same XML! Tomcat 4.0 and Resin don't do JSP tag object caching, hence why we've not seen this before. Resolver in p4 40010 Verified on 4.1. |