<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:23 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-488] Issue augmenting choice inside a list</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-488</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Issue when augmenting choice inside a list (&quot;subobject-container/subobject-type&quot;)&lt;/p&gt;

&lt;p&gt;grouping secondary-record-route-subobjects-list {&lt;br/&gt;
        uses record-route-subobjects-list {&lt;br/&gt;
            augment &quot;subobject-container/subobject-type&quot; {&lt;br/&gt;
                    case protection-case &lt;/p&gt;
{
                        uses protection-subobject;
                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;br/&gt;
   }&lt;/p&gt;

&lt;p&gt;where&lt;/p&gt;

&lt;p&gt;    grouping record-route-subobjects-list {&lt;br/&gt;
        list subobject-container &lt;/p&gt;
{
            uses record-route-subobjects;
            ordered-by user;
        }
&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;    grouping record-route-subobjects {&lt;br/&gt;
        leaf protection-available &lt;/p&gt;
{
            type boolean;
            default false;
        }&lt;br/&gt;
&lt;br/&gt;
        leaf protection-in-use {            type boolean;            default false;        }

&lt;p&gt;        choice subobject-type {&lt;br/&gt;
            case ip-prefix-case {&lt;br/&gt;
                container ip-prefix &lt;/p&gt;
{
                    uses ip-prefix-subobject;
                }
&lt;p&gt;            }&lt;/p&gt;

&lt;p&gt;            case label-case {&lt;br/&gt;
                container label {&lt;br/&gt;
                    uses label-subobject;&lt;/p&gt;

&lt;p&gt;                    leaf global &lt;/p&gt;
{
                        type boolean;
                        default false;
                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;/p&gt;

&lt;p&gt;            case unnumbered-case {&lt;br/&gt;
                container unnumbered &lt;/p&gt;
{
                    uses unnumbered-subobject;
                }
&lt;p&gt;            }&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;/p&gt;

&lt;p&gt;when I compile I receive&lt;/p&gt;

&lt;p&gt;ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator&lt;br/&gt;
java.lang.IllegalStateException: Failed to generate code for augment in UsesNodeImpl[groupingPath=AbsoluteSchemaPath&lt;/p&gt;
{path=[(urn:opendaylight:params:xml:ns:yang:rsvp?revision=2013-08-20)record-route-subobjects-list]}
&lt;p&gt;]&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.findOriginalTargetFromGrouping(BindingGeneratorImpl.java:931)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.usesAugmentationToGenTypes(BindingGeneratorImpl.java:862)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.processUsesAugments(BindingGeneratorImpl.java:380)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.groupingToGenType(BindingGeneratorImpl.java:720)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.groupingsToGenTypes(BindingGeneratorImpl.java:696)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.moduleToGenTypes(BindingGeneratorImpl.java:267)&lt;br/&gt;
    at org.opendaylight.yangtools.sal.binding.generator.impl.BindingGeneratorImpl.generateTypes(BindingGeneratorImpl.java:245)&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:306)&lt;br/&gt;
    at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.generateSources(YangToSourcesProcessor.java:245)&lt;br/&gt;
    at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesProcessor.execute(YangToSourcesProcessor.java:86)&lt;br/&gt;
    at org.opendaylight.yangtools.yang2sources.plugin.YangToSourcesMojo.execute(YangToSourcesMojo.java:117)&lt;br/&gt;
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)&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:108)&lt;br/&gt;
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)&lt;br/&gt;
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)&lt;br/&gt;
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)&lt;br/&gt;
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)&lt;br/&gt;
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)&lt;br/&gt;
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)&lt;br/&gt;
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)&lt;br/&gt;
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)&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:606)&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;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;INFO&amp;#93;&lt;/span&gt; yang-to-sources: Code generator instantiated from org.opendaylight.yangtools.yang.unified.doc.generator.maven.DocumentationGeneratorImpl&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22908">YANGTOOLS-488</key>
            <summary>Issue augmenting choice inside a list</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="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="cdgasparini">Claudio David Gasparini</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Aug 2015 07:16:32 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:36 +0000</updated>
                            <resolved>Wed, 16 Sep 2015 07:42:19 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="43468" author="martin.ciglan" created="Tue, 18 Aug 2015 08:06:00 +0000"  >&lt;p&gt;per information given by Claudio, this has been tested with yangtools master branch (beryllium)&lt;/p&gt;</comment>
                            <comment id="43469" author="milos.fabian@pantheon.tech" created="Wed, 2 Sep 2015 08:57:59 +0000"  >&lt;p&gt;(In reply to Martin Ciglan from comment #1)&lt;br/&gt;
&amp;gt; per information given by Claudio, this has been tested with yangtools master&lt;br/&gt;
&amp;gt; branch (beryllium)&lt;/p&gt;

&lt;p&gt;The same issue appears with Lithium-SR1 too.&lt;br/&gt;
i.e.:&lt;br/&gt;
uses foo {&lt;br/&gt;
   augment &quot;bar:container/bar:list/bar:choice&quot; {&lt;br/&gt;
       case &lt;/p&gt;
{
           ....
       }
&lt;p&gt;   }&lt;br/&gt;
}&lt;/p&gt;</comment>
                            <comment id="43470" author="pkajsa" created="Fri, 4 Sep 2015 12:08:10 +0000"  >&lt;p&gt;Fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/26503/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/26503/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43471" author="pkajsa" created="Wed, 9 Sep 2015 11:35:22 +0000"  >&lt;p&gt;stable/lithium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/26717/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/26717/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43472" author="cdgasparini" created="Wed, 16 Sep 2015 07:42:19 +0000"  >&lt;p&gt;Issue persist, find attached the yang model where you can test it.&lt;/p&gt;</comment>
                            <comment id="43473" author="cdgasparini" created="Wed, 16 Sep 2015 07:42:19 +0000"  >&lt;p&gt;Attachment rsvp.yang has been added with description: Yang model&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="23510">BGPCEP-270</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13026" name="rsvp.yang" size="24000" author="claudio.gasparini@pantheon.tech" created="Wed, 16 Sep 2015 07:42:19 +0000"/>
                    </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>4145</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=4145]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10362"><![CDATA[Beryllium-M3]]></customfieldvalue>

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

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