<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:56:08 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-1431] Unsupported leaf under causes parsing failure</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1431</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;&lt;b&gt;Issue&lt;/b&gt;&lt;br/&gt;
Adding empty collection to Supported Features will break building EffectiveModelContext. The exception thrown when build is executed is informing that the root of the issue is an invalid YANG model:&lt;br/&gt;
`Leaf is missing a &apos;type&apos; statement &lt;span class=&quot;error&quot;&gt;&amp;#91;at yangtools/parser/yang-parser-impl /target/test-classes/ietf-ip/ietf-ip@2018-02-22.yang:222:11&amp;#93;&lt;/span&gt;&#160; `&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Expected solution&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;If is not allowed providing empty collection, add condition which will check empty collection and throw actual root of issue.&lt;/p&gt;</description>
                <environment></environment>
        <key id="35729">YANGTOOLS-1431</key>
            <summary>Unsupported leaf under causes parsing failure</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="rovarga">Robert Varga</assignee>
                                    <reporter username="PeterSuna">Peter Suna</reporter>
                        <labels>
                            <label>regression</label>
                    </labels>
                <created>Tue, 3 May 2022 14:49:04 +0000</created>
                <updated>Tue, 3 May 2022 21:34:25 +0000</updated>
                            <resolved>Tue, 3 May 2022 21:34:18 +0000</resolved>
                                    <version>8.0.3</version>
                                    <fixVersion>9.0.0</fixVersion>
                    <fixVersion>8.0.4</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="71011" author="rovarga" created="Tue, 3 May 2022 16:21:43 +0000"  >&lt;p&gt;So the problem here seems to be that the implicit undeclared case statement does not recognize the if-feature statement of its child &amp;#8211; hence it gets built, which in turn attempts to build the leaf, which is not supported, leading to its substatements not being there, leading to the failure.&lt;/p&gt;

&lt;p&gt;The problem is that we should not attempt to copy/build the leaf statement in the first place, but, more importantly, should not be building the case statement either. This will need a bit of magic to sort through.&lt;/p&gt;</comment>
                    </comments>
                    <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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i042bb:</customfieldvalue>

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