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

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

                Author: ASF GitHub Bot
            Created on: 12/Sep/26 07:47
            Start Date: 12/Sep/26 07:47
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request, #329:
URL: https://github.com/apache/struts-site/pull/329

   Relates to [WW-3226](https://issues.apache.org/jira/browse/WW-3226).
   
   The alias interceptor page never said what happens when a request carries 
both the source name and the alias target, and its own example puts `alias` 
before `basicStack`, where the directly submitted parameter silently wins — the 
exact surprise WW-3226 reports.
   
   This adds an "Ordering relative to the `params` interceptor" section with 
the two outcomes side by side (verified by a reproduction on `main`), and a 
`params` → `alias` → `conversionError` stack example for readers who want the 
alias to override. Also closes the unbalanced parenthesis in the `aliasesKey` 
bullet.
   
   No code change: WW-3226 is being closed as Won't Fix with this page as the 
answer.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   




Issue Time Tracking
-------------------

            Worklog Id:     (was: 1041075)
    Remaining Estimate: 0h
            Time Spent: 10m

> Add optional support to AliasInterceptor to overwrite aliased parameters
> ------------------------------------------------------------------------
>
>                 Key: WW-3226
>                 URL: https://issues.apache.org/jira/browse/WW-3226
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.1.8
>            Reporter: Jasper Rosenberg
>            Priority: Minor
>             Fix For: 7.4.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It would be great if the AliasInterceptor could overwrite the aliased 
> parameters rather than just inject them under different names, much like I 
> recall staticParams supports.  I suspect many, like me, were surprised to 
> learn this wasn't how it currently behaved.  It would have to be a new flag 
> to maintain backwards compatibility.
> Alternatively, the ParametersInterceptor could be enhanced to take an 
> optional aliases map.  That would be pretty handy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to