<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:30 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-524] Shorthand case statement not working</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-524</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;If I use a shorthand version of a case statement (in choice statement server-or-user, case server), as described in &lt;a href=&quot;https://tools.ietf.org/html/rfc6020#section-7.9.2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6020#section-7.9.2&lt;/a&gt;, and try to write generated class to normalized node I get this exception:&lt;/p&gt;

&lt;p&gt;org.opendaylight.yangtools.binding.data.codec.impl.IncorrectNestingException: Supplied class interface org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.changed.by.parms.changed.by.server.or.user.Server is not valid case&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.IncorrectNestingException.create(IncorrectNestingException.java:28)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.DataContainerCodecContext.childNonNull(DataContainerCodecContext.java:180)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.ChoiceNodeCodecContext.streamChild(ChoiceNodeCodecContext.java:111)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingToNormalizedStreamWriter.enter(BindingToNormalizedStreamWriter.java:67)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingToNormalizedStreamWriter.startCase(BindingToNormalizedStreamWriter.java:134)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.changed.by.parms.changed.by.server.or.user.Server$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;span class=&quot;error&quot;&gt;&amp;#91;118:org.opendaylight.netconf.ietf-netconf-notifications:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry$DataObjectSerializerProxy.serialize(BindingNormalizedNodeCodecRegistry.java:295)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.util.ChoiceDispatchSerializer.serialize(ChoiceDispatchSerializer.java:47)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.changed.by.parms.ChangedBy$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;span class=&quot;error&quot;&gt;&amp;#91;118:org.opendaylight.netconf.ietf-netconf-notifications:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfCapabilityChange$StreamWriter.serialize(DataObjectSerializerPrototype.java)&lt;span class=&quot;error&quot;&gt;&amp;#91;118:org.opendaylight.netconf.ietf-netconf-notifications:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry$DataObjectSerializerProxy.serialize(BindingNormalizedNodeCodecRegistry.java:295)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.binding.data.codec.impl.BindingNormalizedNodeCodecRegistry.toNormalizedNodeNotification(BindingNormalizedNodeCodecRegistry.java:125)&lt;span class=&quot;error&quot;&gt;&amp;#91;94:org.opendaylight.mdsal.binding-dom-codec:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netconf.notifications.impl.ops.NotificationsTransformUtil.transform(NotificationsTransformUtil.java:99)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.netconf.notifications-impl:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netconf.notifications.impl.ops.NotificationsTransformUtil.transform(NotificationsTransformUtil.java:91)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.netconf.notifications-impl:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netconf.notifications.impl.NetconfNotificationManager$BaseNotificationPublisherReg.serializeNotification(NetconfNotificationManager.java:259)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.netconf.notifications-impl:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.netconf.notifications.impl.NetconfNotificationManager$BaseNotificationPublisherReg.onCapabilityChanged(NetconfNotificationManager.java:264)&lt;span class=&quot;error&quot;&gt;&amp;#91;132:org.opendaylight.netconf.notifications-impl:1.0.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;However, if I use the normal version of case statement serialization to normalized node is successful.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22944">YANGTOOLS-524</key>
            <summary>Shorthand case statement not working</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="martin.ciglan">Martin Ciglan</assignee>
                                    <reporter username="jmorvay@cisco.com">Jakub Morvay</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Oct 2015 14:01:54 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:39 +0000</updated>
                            <resolved>Tue, 27 Oct 2015 17:23:28 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43586" author="jmorvay@cisco.com" created="Mon, 5 Oct 2015 14:01:54 +0000"  >&lt;p&gt;Attachment file_4414.txt has been added with description: YANG model&lt;/p&gt;</comment>
                            <comment id="43585" author="martin.ciglan" created="Mon, 12 Oct 2015 08:08:28 +0000"  >&lt;p&gt;fix pushed:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/28268/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/28268/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13029" name="file_4414.txt" size="10928" author="jmorvay@cisco.com" created="Mon, 5 Oct 2015 14:01:54 +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>4414</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=4414]]></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="10351"><![CDATA[Beryllium-M5]]></customfieldvalue>

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

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