You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2026/07/21 09:16:42 UTC

[PR] WW-5580 Use Configuration.VERSION_2_3_34 for FreeMarker config [struts]

lukaszlenart opened a new pull request, #1798:
URL: https://github.com/apache/struts/pull/1798

   Aligns FreeMarker's `incompatible_improvements` setting in `FreemarkerManager` with the FreeMarker 2.3.34 dependency already declared in the build (it was still pinned to `VERSION_2_3_33`).
   
   ### Risk
   
   None at runtime. FreeMarker 2.3.34 declares `Configuration.VERSION_2_3_34` as an incompatible-improvements break-point, but nothing in 2.3.34 gates behaviour on it:
   
   - `_VersionInts` defines `V_2_3_33` but no `V_2_3_34`
   - the only version comparisons (`BeansWrapper`, `ClassIntrospectorBuilder`) cap at 2.3.33
   - the `setIncompatibleImprovements` javadoc change list stops at 2.3.33
   
   So this is purely keeping the setting in sync with the dependency.
   
   ### Tests
   
   `testIncompatibleImprovementsByOverriding` intentionally stays on `VERSION_2_3_33` — it now asserts a value that differs from the default, so it actually exercises the override path (previously it matched the default and passed trivially).
   
   All 26 tests in `org.apache.struts2.views.freemarker.**` pass, including the template rendering/auto-escaping test.
   
   Fixes [WW-5580](https://issues.apache.org/jira/browse/WW-5580)
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] WW-5580 Use Configuration.VERSION_2_3_34 for FreeMarker config [struts]

Posted by "lukaszlenart (via GitHub)" <gi...@apache.org>.
lukaszlenart merged PR #1798:
URL: https://github.com/apache/struts/pull/1798


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] WW-5580 Use Configuration.VERSION_2_3_34 for FreeMarker config [struts]

Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #1798:
URL: https://github.com/apache/struts/pull/1798#issuecomment-5032380389

   ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1798) **Quality Gate passed**  
   Issues  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1798&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1798&issueStatuses=ACCEPTED)
   
   Measures  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1798&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [100.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1798&metric=new_coverage&view=list)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1798&metric=new_duplicated_lines_density&view=list)  
     
   <!-- sqra-placement-anchor -->
   [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1798)
   
   


-- 
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: notifications-unsubscribe@struts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org