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

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

                Author: ASF GitHub Bot
            Created on: 13/Sep/21 10:37
            Start Date: 13/Sep/21 10:37
    Worklog Time Spent: 10m 
      Work Description: yasserzamani commented 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` has been failed :)
   
   I think the solution i.e. to improve this tests, firstly we should add 
`PrepareOperations.resetOverridenDevMode()` method which reset 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: 649912)
    Time Spent: 2.5h  (was: 2h 20m)

> 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: 2.5h
>  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)

Reply via email to