There are 5 updates, 2 comments.
 
 
Release Notes Application / cid:jira-generated-image-avatar-964c9812-862b-4e03-9c7a-bd2a91c1776b RN-53 Closed

Deprecated $velocityCount binding

 
View issue   ยท   Add comment
 

5 updates

 
cid:jira-generated-image-avatar-919a585a-015c-4a6f-8fc2-712fdba9b400 Changes by Vincent Massol on 29/Aug/26 00:32
 
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Vincent Massol
Resolution: Cannot Reproduce
Status: Open Closed
 
 

2 comments

 
cid:jira-generated-image-avatar-919a585a-015c-4a6f-8fc2-712fdba9b400 Vincent Massol on 29/Aug/26 00:30
 

This was already fixed as part of RN-35, released in 2.0.

The last $velocityCount usages were removed by 2 commits on master, both on 2021-04-02:

  • f4071b1 in Code/Change/ChangeDisplayerGrid.xml, Code/Change/ChangeDisplayerVelocityMacros.xml and Code/MigrationFrom1x.xml
  • 322e20b ("Finish removing deprecated usage of $velocityCount") in Code/Change/GetChangesMacro.xml

All loops now use $foreach.count / $foreach.index instead. I verified on the current code base (2.4-SNAPSHOT) that no $velocityCount (nor $velocityHasNext) usage remains, neither in the -ui module nor in the -demo module. I also checked the source of the page mentioned in the description (ReleaseNotes.Data.XWiki.11.10.10.WebHome on xwiki.org) and it doesn't contain any $velocityCount either.

Thus this issue can be closed as Fixed in 2.0.

 
cid:jira-generated-image-avatar-919a585a-015c-4a6f-8fc2-712fdba9b400 Vincent Massol on 29/Aug/26 00:32
 

Was fixed in RN-35 in commits f4071b1 and 322e20b