You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mridul Pathak (Jira)" <ji...@apache.org> on 2026/09/16 07:34:00 UTC
[jira] [Closed] (OFBIZ-13586) getLastSystemInfoNote off-by-one note2/note3 display
[ https://issues.apache.org/jira/browse/OFBIZ-13586?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mridul Pathak closed OFBIZ-13586.
---------------------------------
Fix Version/s: Upcoming Branch
24.09.08
Resolution: Fixed
> getLastSystemInfoNote off-by-one note2/note3 display
> ----------------------------------------------------
>
> Key: OFBIZ-13586
> URL: https://issues.apache.org/jira/browse/OFBIZ-13586
> Project: OFBiz
> Issue Type: Bug
> Components: framework/common
> Affects Versions: Upcoming Branch, 24.09.07
> Reporter: Mridul Pathak
> Assignee: Mridul Pathak
> Priority: Minor
> Fix For: Upcoming Branch, 24.09.08
>
>
> {{getLastSystemInfoNote}} gates populating {{lastSystemInfoNote2}}/{{lastSystemInfoNote3}} on {{systemInfoNotes.size() == 2}} / {{> 2}}. The original minilang instead checked whether the 3rd/4th list element existed before taking the 2nd/3rd. With exactly 2 notes, minilang never sets {{lastSystemInfoNote2}} but Groovy now does; with exactly 3 notes, minilang never sets {{lastSystemInfoNote3}} but Groovy now does. This changes what the System Info dashboard portlet displays for those two note counts.
> Needs fixing: restore the original index-existence gating rather than the size-threshold gating.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)