[YANGTOOLS-681] [Yang 1.1] Disallow "when" and "if-feature" on list keys. Created: 06/Oct/16  Updated: 10/Apr/22  Resolved: 23/Feb/17

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

Type: Bug
Reporter: Peter Kajsa Assignee: Igor Foltin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks YANGTOOLS-355 Milestone: Introduce support for YANG... Resolved
is blocked by YANGTOOLS-664 Extend yang statement parser to suppo... Resolved
External issue ID: 6885

 Comments   
Comment by Martin Ciglan [ 18/Oct/16 ]

Made "when" and "if-feature" illegal on list keys. This is a
backward-incompatible change from YANG version 1. When updating a
YANG version 1 module to 1.1 and the module uses these constructs,
they must be removed to match the new rules.

Comment by Igor Foltin [ 19/Feb/17 ]

Fix: https://git.opendaylight.org/gerrit/#/c/50785/

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