[YANGTOOLS-612] Cardinality check incorrectly limited to 1 for "must" substatements in "refine" statement Created: 17/May/16  Updated: 10/Apr/22  Resolved: 20/May/16

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Ryan Goulding Assignee: Filip Gregor
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 5899

 Description   

7.12.2 The refine statement:

" o A leaf, leaf-list, list, container, or anyxml node may get
additional "must" expressions."

However, this is currently limited to 1 in the new yang-parser-impl, even though the text clearly states that "additional "must" expressionS" are allowed.



 Comments   
Comment by Martin Ciglan [ 17/May/16 ]

based on findings during weekly call, this seems to be a real bug, cardinality should be 0..n.

Comment by Filip Gregor [ 19/May/16 ]

proposed fix https://git.opendaylight.org/gerrit/#/c/39103/

Generated at Wed Feb 07 20:53:46 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.