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 subversion and git services (Jira)" <ji...@apache.org> on 2021/12/01 06:29:00 UTC

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

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

ASF subversion and git services commented on WW-5124:
-----------------------------------------------------

Commit f36c7678c5cdd04614a9c3a0090d15350714f4af in struts's branch refs/heads/master from JCgH4164838Gh792C124B5
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=f36c767 ]

Merge branch 'master' of https://github.com/JCgH4164838Gh792C124B5/struts into localS2_26_WW-5124_fix

# Conflicts:
#	core/src/test/java/org/apache/struts2/views/jsp/ui/OptionTransferSelectTagTest.java

- Manually resolved merge conflicts, updated the test that was added to
match other tests.


> 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
>
>          Time Spent: 4h 40m
>  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.20.1#820001)