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

Wrong package imported when multiple augment-of-augment used

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 41

    Description

      The two attached models cause code generator to spew invalid code. It fails to compile:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project pcep-api: Compilation failure: Compilation failure:
      [ERROR] /home/nite/bgpcep/pcep/api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/topology/tunnel/p2p/rev2013812/TunnelTypes1.java:[6,122] package org.opendaylight.yang.gen.v1.urn.TBD.params.xml.ns.yang.network.topology.rev2013712.network.topology.topology.link does not exist
      [ERROR] /home/nite/bgpcep/pcep/api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/topology/tunnel/p2p/rev2013812/TunnelTypes1.java:[8,64] cannot find symbol
      [ERROR] symbol: class TunnelTypes
      [ERROR] /home/nite/bgpcep/pcep/api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/topology/tunnel/p2p/rev2013812/Paths1.java:[6,122] package org.opendaylight.yang.gen.v1.urn.TBD.params.xml.ns.yang.network.topology.rev2013712.network.topology.topology.link does not exist
      [ERROR] /home/nite/bgpcep/pcep/api/target/generated-sources/sal/org/opendaylight/yang/gen/v1/urn/opendaylight/params/xml/ns/yang/topology/tunnel/p2p/rev2013812/Paths1.java:[8,58] cannot find symbol
      [ERROR] symbol: class Paths

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: