[ 
https://issues.apache.org/struts/browse/STR-3178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul Benedict updated STR-3178:
-------------------------------

    Fix Version/s:     (was: 1.3.11)
                       (was: 1.4.0)
                   Future

Moving to "Future" since I suspect that I mistaken something during debugging. 
Will check later.

> Empty cache of messages not created by ActionContext
> ----------------------------------------------------
>
>                 Key: STR-3178
>                 URL: https://issues.apache.org/struts/browse/STR-3178
>             Project: Struts 1
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.3.10
>            Reporter: Paul Benedict
>            Assignee: Paul Benedict
>            Priority: Minor
>             Fix For: Future
>
>
> The JavaDoc for ActionContext states:
> /**
>  * <p> Retrieve messages from an internal cache, creating an empty cache
>  * if one is not already present. </p>
>  *
>  * @return The ActionMessage cache for errors
>  */
> ActionMessages getMessages();
> /**
>  * <p> Retrieve error messages from an internal cache, creating an empty
>  * cache if one is not already present. </p>
>  *
>  * @return The ActionMessage cache for errors
>  */
> ActionMessages getErrors();
> Despite the clear contract stated, neither go to create the cache. They will 
> return null if not present in the context.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to