Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-753

yang parser problem with nested uses for refine or augment in submodule

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 7879

    Description

      With the attached minimized yang model the following error message is printed:

      [main] WARN org.opendaylight.yangtools.yang.parser.stmt.reactor.BuildGlobalContext - Unexpected error processing source RevisionSourceIdentifier [name=my-model-alarms@1970-01-01]. Please file an issue with this model attached.
      java.lang.IllegalArgumentException: Refine target node Relative

      {path=[(my-model-ns?revision=1970-01-01)my-event-value]}

      not found. At null:21:10

      The full stacktrace is available inside the attachment.

      Tested with released version 1.0.2-Boron-SR2 and also autorelease-1706 for 1.0.3-Boron-SR3.

      Yang model abstracted short description to cause the issue:
      module --> include submodule --> container|notification|grouping|rpc with input/output --> uses from other module --> augment --> uses from other module --> augment|refine

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pkajsa Peter Kajsa
            mirko.deckert@adtran.com Mirko Deckert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: