<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:56 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-661] Problem with nested typedefs</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-661</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I&apos;ve found 2 problems with nested typedefs.   Both are exhibited by the attached model.&lt;/p&gt;

&lt;p&gt;1) when a typedef is in a container that is in an augment, the YANG parser produces an error.&lt;/p&gt;

&lt;p&gt;This can be seen in the attached model by uncommenting the leaf-container-b in typedef-bug.yang).   The error produced is then:&lt;/p&gt;

&lt;p&gt;...&lt;br/&gt;
Caused by: org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException: Type &lt;span class=&quot;error&quot;&gt;&amp;#91;(http://www.example.com/typedef-bug?revision=2016-09-21)type-container-b&amp;#93;&lt;/span&gt; was not found. &lt;span class=&quot;error&quot;&gt;&amp;#91;at typedef-bug:35:14&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.spi.meta.InferenceException.throwIf(InferenceException.java:47)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.TypeStatementImpl$Definition$1.prerequisiteFailed(TypeStatementImpl.java:225)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.ModifierImpl.failModifier(ModifierImpl.java:91)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.SourceSpecificContext.failModifiers(SourceSpecificContext.java:290)&lt;/p&gt;

&lt;p&gt;The equivalent definition without an augment is working fine (see the leaf-container-a in typedef-bug.yang).&lt;/p&gt;


&lt;p&gt;2) Typedefs on RPCs are not returned by the ODL parser.   &lt;/p&gt;

&lt;p&gt;In the attached model, the definition of the rpc-a parses fine, but the getTypeDefinitions() method of the RpcDefinition is returning an empty list.&lt;/p&gt;


&lt;p&gt;Note that this is on Beryllium-SR3.  We haven&apos;t tried on Boron yet.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23081">YANGTOOLS-661</key>
            <summary>Problem with nested typedefs</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="verthezpw">Peter Verthez</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Sep 2016 11:36:03 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:51 +0000</updated>
                            <resolved>Mon, 17 Oct 2016 08:18:48 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44114" author="verthezpw" created="Wed, 21 Sep 2016 11:36:03 +0000"  >&lt;p&gt;Attachment typedef-bug.zip has been added with description: example model&lt;/p&gt;</comment>
                            <comment id="44112" author="pkajsa" created="Wed, 21 Sep 2016 13:35:48 +0000"  >&lt;p&gt;2) This issue has been fixed in master and stable/boron branches (&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/44036/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/44036/&lt;/a&gt;). So we will cherry-pick this fix also into stable/beryllium.&lt;/p&gt;</comment>
                            <comment id="44113" author="pkajsa" created="Wed, 28 Sep 2016 16:51:55 +0000"  >&lt;p&gt;fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/46223/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/46223/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="23065">YANGTOOLS-645</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13066" name="typedef-bug.zip" size="12534" author="verthezpw" created="Wed, 21 Sep 2016 11:36:03 +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>6771</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=6771]]></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="10358"><![CDATA[Beryllium-4]]></customfieldvalue>

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

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