<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:22 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-480] Yangtools fails to decode leafref in choice statement</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-480</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;When processing a read from an instance of the following model:&lt;/p&gt;


&lt;p&gt;  typedef bridge-domain-ref {&lt;br/&gt;
    type leafref &lt;/p&gt;
{
      path &quot;/vpp/bridge-domains/bridge-domain/name&quot;;
    }
&lt;p&gt;  } &lt;/p&gt;

&lt;p&gt;container l2 {&lt;/p&gt;

&lt;p&gt;      choice interconnection {&lt;br/&gt;
        case xconnect-based {&lt;br/&gt;
          leaf xconnect-outgoing-interface &lt;/p&gt;
{
            type if:interface-ref;
          }
&lt;p&gt;        }&lt;br/&gt;
        case bridge-based {&lt;br/&gt;
          leaf bridge-domain &lt;/p&gt;
{
            type bridge-domain-ref;
          }
&lt;p&gt;          leaf split-horizon-group &lt;/p&gt;
{
            type uint8;
          }
&lt;p&gt;          leaf bridged-virtual-interface &lt;/p&gt;
{
            type boolean;
          }
&lt;p&gt;        }&lt;br/&gt;
      }&lt;br/&gt;
Yangtools fails to decode properly the bridge-domain name leaf node giving the following error:&lt;/p&gt;

&lt;p&gt;2015-07-23 20:39:51,383 | ERROR | pool-51-thread-1 | XmlStreamUtils                   | 71 - org.opendaylight.yangtools.yang-data-impl - 0.6.3.Helium-SR1 | Failed to find codec for type (urn:ietf:params:xml:ns:yang:1)leafref &lt;span class=&quot;error&quot;&gt;&amp;#91;xpath=/vpp/bridge-domains/bridge-domain/name&amp;#93;&lt;/span&gt;, falling back to using stream&lt;/p&gt;

&lt;p&gt;Data processing still succeeds because the data is actually a string, however it may fail in other cases.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22900">YANGTOOLS-480</key>
            <summary>Yangtools fails to decode leafref in choice statement</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="wojdec">Wojciech Dec</reporter>
                        <labels>
                    </labels>
                <created>Fri, 24 Jul 2015 09:42:13 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:35 +0000</updated>
                            <resolved>Tue, 29 Sep 2015 10:25:33 +0000</resolved>
                                                                        <due>Thu, 13 Aug 2015 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="43441" author="rovarga" created="Tue, 8 Sep 2015 19:58:33 +0000"  >&lt;p&gt;Is this reproducible with Lithium-SR1?&lt;/p&gt;</comment>
                            <comment id="43442" author="pkajsa" created="Thu, 24 Sep 2015 15:08:38 +0000"  >&lt;p&gt;fix for stable/helium: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/27394/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/27394/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On master branch it has been already fixed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="22901">YANGTOOLS-481</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="22901">YANGTOOLS-481</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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>4051</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=4051]]></customfieldvalue>

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

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

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