Commit 5ac9920
authored
Ofbiz 13374 Fixed: incorrect Groovy range iteration that was causing index out of bounds (#1177)
Fixed: proper parenthesised based iteration to avoid precedence issue
that leads to invalid index access.
---------
Co-authored-by: Ankit Joshi <ankitjoshi@Ankit-Joshi.local>
Co-authored-by: Jacques Le Roux <jacques.le.roux@les7arts.com>
Thanks Ankit!1 parent e5e2f56 commit 5ac9920
1 file changed
Lines changed: 5 additions & 5 deletions
File tree
- applications/product/src/main/groovy/org/apache/ofbiz/product/catalog/imagemanagement
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 21 | | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments