[YANGTOOLS-642] Fix EnumPair and Bit definition Created: 31/Jul/16  Updated: 10/Apr/22  Resolved: 30/Aug/16

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

Type: Bug
Reporter: Robert Varga 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


External issue ID: 6316

 Description   

yang.model.api.type is the effective model, which means getPosition() and getValue() cannot be null.

Fix this mistake by making these returns simple types, adjusting implementations and users accordingly.



 Comments   
Comment by Robert Varga [ 31/Jul/16 ]

Preliminary patch to yangtools: https://git.opendaylight.org/gerrit/42855

Comment by Peter Kajsa [ 03/Aug/16 ]

https://git.opendaylight.org/gerrit/#/c/42855/

Comment by Peter Kajsa [ 09/Aug/16 ]

MDSAL: https://git.opendaylight.org/gerrit/#/c/43315/

Comment by Martin Ciglan [ 09/Aug/16 ]

fix for MD-SAL has been merged, we are currently working on fixes for Netconf/Restconf and Controller to unblock YT patch for this ticket.

Comment by Martin Ciglan [ 09/Aug/16 ]

please disregard my previous comment, it is not related to this bug at all. Sorry about that.

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