Skip to content

WW-5760 Upgrade OGNL to version 3.4.15 - #1993

Merged
lukaszlenart merged 1 commit into
mainfrom
WW-5760-ognl-3.4.15
Oct 6, 2026
Merged

lukaszlenart merged 1 commit into
mainfrom
WW-5760-ognl-3.4.15

Conversation

@lukaszlenart

@lukaszlenart lukaszlenart commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes 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

  • Core 3407 tests; CDI, Spring, JUnit, Velocity, Convention, JSON, REST and Tiles plugins: 0 failures
  • CI

🤖 Generated with Claude Code

OGNL 3.4.15 (orphan-oss/ognl#660) no longer reports a property as settable when its only
backing member is a static or final field, so CompoundRootAccessor does not offer the
parameter to an object that cannot take it. The new test pins that for a ModelDriven action.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lukaszlenart
lukaszlenart marked this pull request as ready for review October 6, 2026 13:22
@sonarqubecloud

sonarqubecloud Bot commented Oct 6, 2026

Copy link
Copy Markdown

@lukaszlenart
lukaszlenart merged commit 8778368 into main Oct 6, 2026
16 checks passed
@lukaszlenart
lukaszlenart deleted the WW-5760-ognl-3.4.15 branch October 6, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant