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

Invalid use of addType in ChoiceCaseBuilder during copy in yang-parser-impl CopyUtils class

    XMLWordPrintable

Details

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

    • 2191

    Description

      The ChoiceCaseBuilder prohibits adding of TypeDefinitionBuilder via addTypedef method, hence the copy method in CopyUtils in yang-parser-impl project tries to copy typedefs if there are present in ChoiceCaseBuilder which is faulty too.

      The wrong implementation is located between lines 136-137 in CopyUtils.java

      Attachments

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

        Activity

          People

            lborak@cisco.com Ladislav Borak
            lsedlak@cisco.com Lukas Sedlak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: