<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:52:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-209] BindingGeneratorImpl fails to find augment target from grouping</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-209</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;When trying to generate code for following yang:&lt;/p&gt;


&lt;p&gt;augment &quot;/multipart-request/input/multipart-request-body/multipart-request-experimenter-case/multipart-request-experimenter&quot; {&lt;br/&gt;
    leaf exp_type2 &lt;/p&gt;
{
        type uint16;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;rpc multipart-request {&lt;br/&gt;
    input &lt;/p&gt;
{
        uses multipart-request;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;grouping multipart-request {&lt;br/&gt;
    choice multipart-request-body {&lt;br/&gt;
        case multipart-request-experimenter-case {&lt;br/&gt;
            container multipart-request-experimenter {}&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;



&lt;p&gt;This produce error:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;ERROR&amp;#93;&lt;/span&gt; yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator&lt;br/&gt;
java.lang.IllegalArgumentException: Failed to generate code for augment in UsesNodeImpl[groupingPath=AbsoluteSchemaPath&lt;/p&gt;
{path=[(urn:opendaylight:openflow:protocol?revision=2013-07-31)multipart-request]}
&lt;p&gt;]&lt;br/&gt;
        at com.google.common.base.Preconditions.checkArgument(Preconditions.java:119)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.model.util.SchemaContextUtil.getResultFromUses(SchemaContextUtil.java:631)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.model.util.SchemaContextUtil.findCorrectTargetFromGrouping(SchemaContextUtil.java:540)&lt;br/&gt;
        at org.opendaylight.yangtools.yang.model.util.SchemaContextUtil.findOriginal(SchemaContextUtil.java:484)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.augmentationToGenTypes(BindingGeneratorImpl.java:755)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.allAugmentsToGenTypes(BindingGeneratorImpl.java:371)&lt;br/&gt;
        at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.generateTypes(BindingGeneratorImpl.java:216)&lt;br/&gt;
        at org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl.generateSources(CodeGeneratorImpl.java:61)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSourcesWithOneGenerator(YangToSourcesProcessor.java:287)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSources(YangToSourcesProcessor.java:230)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.execute(YangToSourcesProcessor.java:84)&lt;br/&gt;
        at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute(YangToSourcesMojo.java:122)&lt;br/&gt;
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)&lt;br/&gt;
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)&lt;br/&gt;
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)&lt;br/&gt;
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)&lt;br/&gt;
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
        at java.lang.reflect.Method.invoke(Method.java:601)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)&lt;br/&gt;
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="22629">YANGTOOLS-209</key>
            <summary>BindingGeneratorImpl fails to find augment target from grouping</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="mvitez@cisco.com">Martin Vitez</assignee>
                                    <reporter username="mvitez@cisco.com">Martin Vitez</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Jul 2014 13:15:40 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:10 +0000</updated>
                            <resolved>Fri, 11 Jul 2014 07:54:01 +0000</resolved>
                                                                        <due>Fri, 11 Jul 2014 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="42853" author="mvitez@cisco.com" created="Thu, 10 Jul 2014 08:15:02 +0000"  >&lt;p&gt;This error appears in situation when at same level as searched grouping node with same name is present. &lt;/p&gt;

&lt;p&gt;Proposed patch:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/8861/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/8861/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="22528">YANGTOOLS-108</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1342</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=1342]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i025tb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>