Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
-
None
-
R0.1.0 Sprint 11
-
Description
In cases like the following:
#{for j=SubtasksCount} ${Subtasks[j].ComponentsCount} ${Subtasks[j].LinksCount} #{end}
the ComponentsCount and LinksCount, when there's none, instead of returning 0 are returning empty. This becomes a problem using conditional iterations like this:
#{if (%{'${Subtasks[j].ComponentsCount}'.equals('0')})} There are no components #{end}
However, if the counts value is different from 0, the proper value is returned