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

Fix SourceIdentifier.getRevision()

    XMLWordPrintable

Details

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

    • 7850

    Description

      getRevision() is documented to return null when the revision is not present, but the actual implementation was broken by https://git.opendaylight.org/gerrit/9646 and returns a specialized string.

      This breaks at least file generation, as it appends '@0000-00-00' where it should not. Fix this problem and drive users to adjust to null – at least netconf relies on this magic string rather than the API contract.

      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:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: