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

Codecs report wrong error-type in YangError

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • 6.0.6, 7.0.3
    • 6.0.7, 7.0.4
    • data-impl

    Description

      Baseline codec validation of received values reports YangInvalidValueException with ErrorType.PROTOCOL. Based on the content of RFC6241 this seems to be rather wrong, as the validation is coming from the actual YANG models, hence is part of the Content layer as defined in https://datatracker.ietf.org/doc/html/rfc6241#section-1.2 . We should be reporting ErrorType.APPLICATION.

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: