You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/06 04:38:00 UTC

[jira] [Work logged] (WW-5124) Tag attribute values cached

     [ https://issues.apache.org/jira/browse/WW-5124?focusedWorklogId=678022&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-678022 ]

ASF GitHub Bot logged work on WW-5124:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 06/Nov/21 04:37
            Start Date: 06/Nov/21 04:37
    Worklog Time Spent: 10m 
      Work Description: JCgH4164838Gh792C124B5 opened a new pull request #501:
URL: https://github.com/apache/struts/pull/501


   Hello Apache Struts Team.
   
   This PR is a re-target of PR #489 aiming the equivalent changes to the 2.6.x main branch (hopefully the cherry-picks and subsequent cleanup are OK).  Please see the original PR for background and discussion details.
   
   This PR attempts to add logic to call cleanup in the `release()` method for the Tag handler as well, but otherwise should be equivalent to the original PR for 2.5.x.
   
   There may be a better strategy/design to consider instead, but at least it provides a starting point.  Please let me know if anyone can see a cleaner solution.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 678022)
    Time Spent: 3h 10m  (was: 3h)

> Tag attribute values cached
> ---------------------------
>
>                 Key: WW-5124
>                 URL: https://issues.apache.org/jira/browse/WW-5124
>             Project: Struts 2
>          Issue Type: Bug
>         Environment: Here you have a repo that reproduce this:
> https://github.com/dfliess/struts2-tagpooling-bug
>            Reporter: Diego Alejandro Fliess
>            Priority: Major
>             Fix For: 2.6, 2.5.28
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> On some application servers, like glassfish, when handling jsp tag pooling, attribute values are cached or not reinitiallized.
> For example:
> {code:java}
> <s:textfield size="50">
>     <jsp:attribute name="placeholder">THIS TEXTFIELD SHOULD HAVE VALUE</jsp:attribute>
>     <jsp:attribute name="value">VALUE</jsp:attribute>
> </s:textfield>
> <s:textfieldsize="50">
>     <jsp:attribute name="placeholder">THIS TEXT FIELD SHOULDN'T HAVE VALUE</jsp:attribute>
> </s:textfield>{code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)