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

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

                Author: ASF GitHub Bot
            Created on: 06/Oct/26 13:22
            Start Date: 06/Oct/26 13:22
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart opened a new pull request, #1993:
URL: https://github.com/apache/struts/pull/1993

   ## Summary
   
   Fixes [WW-5760](https://issues.apache.org/jira/browse/WW-5760)
   
   Upgrades OGNL from 3.4.14 to 3.4.15.
   
   OGNL 3.4.15 includes orphan-oss/ognl#660, the 3.4.x backport of #658. 
`OgnlRuntime.hasSetProperty` no longer reports a property as settable when its 
only backing member is a static or final field, which `setFieldValue` refuses 
to write. `CompoundRootAccessor` uses that answer to choose the value stack 
object that takes a parameter. It now only offers a parameter to an object that 
can actually take it.
   
   ### Changes
   
   - `ognl.version` 3.4.14 → 3.4.15
   - `ParametersInterceptorTest#testModelDrivenFinalFieldDoesNotTakeParameter` 
pins the new behaviour for a ModelDriven action. It fails on 3.4.14 and passes 
on 3.4.15.
   
   ## Test plan
   
   - [x] Core 3407 tests; CDI, Spring, JUnit, Velocity, Convention, JSON, REST 
and Tiles plugins: 0 failures
   - [ ] CI
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   




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

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

> Upgrade OGNL to version 3.4.15
> ------------------------------
>
>                 Key: WW-5760
>                 URL: https://issues.apache.org/jira/browse/WW-5760
>             Project: Struts 2
>          Issue Type: Dependency
>          Components: Core
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 7.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Upgrade OGNL from 3.4.14 to 
> [3.4.15|https://github.com/orphan-oss/ognl/releases].
> OGNL 3.4.15 includes orphan-oss/ognl#660 (3.4.x backport of #658): 
> {{OgnlRuntime.hasSetProperty}} no longer reports a property as settable when 
> its only backing member is a static or final field, which {{setFieldValue}} 
> refuses to write. {{CompoundRootAccessor}} relies on that answer to decide 
> which value stack object takes a parameter, so it now matches what OGNL can 
> actually write.
> Builds on WW-5759, which moves Struts to OGNL 3.4.14.



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

Reply via email to