Fix augment node compatibility 91/87491/2
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Feb 2020 13:33:28 +0000 (14:33 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 6 Feb 2020 13:46:17 +0000 (14:46 +0100)
commitae434de9690e14a1b523ae7e741a4d79b35f20b1
tree8b888460cfe28ac38c0820efa602a3509e74d060
parent68ff8107d8188d7b4304c0ed76b455e3821dce32
Fix augment node compatibility

We forgot to initialize status here, leading to getStatus() tripping
an IllegalStateException. Furthermore
{Action,Notification}NodeContainerCompat require a
SchemaTreeEffectiveStatement, hence we cannot use them.

JIRA: YANGTOOLS-1065
Change-Id: Ica24a61b22f980cd30c8fe1c65db57ee7746252e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/augment/AbstractAugmentStatementSupport.java
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/augment/AugmentEffectiveStatementImpl.java