Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-344

YangModuleInfo fails when faced with no revisions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • Oxygen, Oxygen SR1, Fluorine
    • Fluorine, Oxygen SR2
    • Binding codegen
    • None

    Description

      When a revisionless module and import are encountered and requested to be sorted, YangModuleInfoTemplate bails due to Optional<Revision> not being comparable.

      This can be fixed by passing an explicit Comparator to the internal TreeMap.

      Attachments

        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: