[
https://issues.apache.org/jira/browse/WW-5124?focusedWorklogId=615425&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-615425
]
ASF GitHub Bot logged work on WW-5124:
--------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jun/21 00:51
Start Date: 28/Jun/21 00:51
Worklog Time Spent: 10m
Work Description: JCgH4164838Gh792C124B5 commented on pull request #489:
URL: https://github.com/apache/struts/pull/489#issuecomment-869257253
Hi @lukaszlenart .
The concern about breaking backwards-compatibility that you mention (plus
the possibility of doing something non-compliant with the JSP specs) is
definitely there, and probably makes this change too risky, at least as it is
currently structured.
I will think about the scenario, and see if I can refactor this PR so that
the state-clearing behaviour in `doEndTag()` is controlled by a flag (either
globally, or as a tag attribute). It might take me a little while to work on
an alternative, so please bear with me.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 615425)
Time Spent: 1h 20m (was: 1h 10m)
> 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.5.27, 2.6
>
> Time Spent: 1h 20m
> 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)