Skip to content

Commit

Permalink
[fix] Fix syntax error in AQL expression
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Charles David <[email protected]>
  • Loading branch information
pcdavid authored and sbegaudeau committed Jun 6, 2023
1 parent 47349e5 commit a88b731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private WidgetDescription createCardinalityLabel() {
LabelDescription cardinalityLabel = ViewFactory.eINSTANCE.createLabelDescription();
cardinalityLabel.setName("Cardinality");
cardinalityLabel.setLabelExpression("Cardinality");
cardinalityLabel.setValueExpression("aql:(if self.optional then '0' else '1' fi) + '..' + (if self.many then '*' else '1' fi)");
cardinalityLabel.setValueExpression("aql:(if self.optional then '0' else '1' endif) + '..' + (if self.many then '*' else '1' endif)");
return cardinalityLabel;
}

Expand Down

0 comments on commit a88b731

Please sign in to comment.