Fix PhaseModificationInNamespacePath effects 11/93611/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Nov 2020 11:53:04 +0000 (12:53 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 5 Nov 2020 16:57:59 +0000 (17:57 +0100)
commit6fea2209987ff3eaa120fe17ba91c6f213cec116
treea4a7aa0b2bd62b3aee5ca5226741ca8b125e68f9
parent625195b4457bec462b56bb7ac1d533c315b3fe1c
Fix PhaseModificationInNamespacePath effects

PhaseModificationInNamespacePath is a set of requirements, working
along the parent->child axis. As we are resolving individual steps
we have to mark each as being impacted by this mutation, not only
the ultimate target.

This ensures that parent statements are not allowed to complete
until the mutation is resolved one way or another -- thus ensuring
proper parent/child phase completion transitions.

JIRA: YANGTOOLS-1160
Change-Id: I87cd682d32cb9ce3397883f2ac1a61a0bc9c8664
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit ac66e993b3b7b00a70feae6fcc7c0c6fbf45cfe6)
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/ModifierImpl.java
yang/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/StatementContextBase.java