[
https://issues.apache.org/jira/browse/WW-5124?focusedWorklogId=650489&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-650489
]
ASF GitHub Bot logged work on WW-5124:
--------------------------------------
Author: ASF GitHub Bot
Created on: 14/Sep/21 10:47
Start Date: 14/Sep/21 10:47
Worklog Time Spent: 10m
Work Description: yasserzamani edited a comment on pull request #489:
URL: https://github.com/apache/struts/pull/489#issuecomment-918063695
@JCgH4164838Gh792C124B5 I think it's something related to threading! Looks
like that some tests have called `PrepareOperations.overrideDevMode(true);` and
at Travis side, `DefaultDispatcherErrorHandlerTest` is executed in same thread
so those tests with `devMode=false` have been failed :)
I think the solution (i.e. to improve these tests), firstly we should add
`PrepareOperations.resetOverridenDevMode()` method which resets it to `null`.
And then call it in `DefaultDispatcherErrorHandlerTest.setUp` :)
--
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: 650489)
Time Spent: 2h 40m (was: 2.5h)
> 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: 2h 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.3.4#803005)