<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:31 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-532] YIN generation failed on openflow-protocol module</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-532</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;YIN generated from openflow-protocol module is incomplete. See attachment.&lt;/p&gt;

&lt;p&gt;How to reproduce:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;running controller&lt;/li&gt;
	&lt;li&gt;installed odl-openflowjava-protocol, odl-restonf features&lt;/li&gt;
	&lt;li&gt;get http://&lt;tt&gt;controllerIP&lt;/tt&gt;:8181/restconf/modules/module/openflow-protocol/2013-07-31/schema&lt;/li&gt;
	&lt;li&gt;result is incomplete XML&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;End of XML looks like:&lt;/p&gt;

&lt;p&gt;&amp;lt;notification name=&quot;error-message&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;status value=&quot;current&quot;&amp;gt;&amp;lt;/status&amp;gt;&lt;br/&gt;
        &amp;lt;reference&amp;gt;&lt;br/&gt;
            &amp;lt;text&amp;gt;OFPT_ERROR message in Openflow Switch 1.3 Spec&amp;lt;/text&amp;gt;&lt;br/&gt;
        &amp;lt;/reference&amp;gt;&lt;br/&gt;
        &amp;lt;uses name=&quot;error&quot;&amp;gt;&amp;lt;/uses&amp;gt;&lt;/p&gt;

&lt;p&gt;Other openflow-* YIN are generated fine, but openflow-protocol is fairly big, so maybe that&apos;s the issue.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22952">YANGTOOLS-532</key>
            <summary>YIN generation failed on openflow-protocol module</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="malachovsky">Daniel Malachovsky</reporter>
                        <labels>
                    </labels>
                <created>Tue, 20 Oct 2015 15:29:05 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:40 +0000</updated>
                            <resolved>Tue, 3 Nov 2015 08:48:49 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="43610" author="dmalacho@cisco.com" created="Tue, 20 Oct 2015 15:29:05 +0000"  >&lt;p&gt;Attachment openflow-protocol.xml has been added with description: Response from /restconf/modules/module/openflow-protocol/2013-07-31/schema&lt;/p&gt;</comment>
                            <comment id="43605" author="martin.ciglan" created="Wed, 21 Oct 2015 07:55:24 +0000"  >&lt;p&gt;karaf log at the time of request:&lt;/p&gt;

&lt;p&gt;Caused by: javax.xml.stream.XMLStreamException: Prefix cannot be null&lt;br/&gt;
	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartElement(XMLStreamWriterImpl.java:1295)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at com.sun.xml.internal.stream.writers.XMLStreamWriterImpl.writeStartElement(XMLStreamWriterImpl.java:1273)&lt;span class=&quot;error&quot;&gt;&amp;#91;:1.8.0_25&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.model.export.SingleModuleYinStatementWriter.writeStartXmlElement(SingleModuleYinStatementWriter.java:218)&lt;span class=&quot;error&quot;&gt;&amp;#91;238:org.opendaylight.yangtools.yang-model-export:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.model.export.SingleModuleYinStatementWriter.startStatement(SingleModuleYinStatementWriter.java:71)&lt;span class=&quot;error&quot;&gt;&amp;#91;238:org.opendaylight.yangtools.yang-model-export:0.8.0.SNAPSHOT&amp;#93;&lt;/span&gt;&lt;br/&gt;
	... 52 more&lt;/p&gt;</comment>
                            <comment id="43606" author="martin.ciglan" created="Wed, 21 Oct 2015 14:42:37 +0000"  >&lt;p&gt;I took relevant set of YANG models from openflowjava &amp;amp; ietf and export them via yang-model-export to YIN without any issue. I&apos;ll try to debug it further more...&lt;/p&gt;</comment>
                            <comment id="43607" author="martin.ciglan" created="Thu, 22 Oct 2015 14:33:55 +0000"  >&lt;p&gt;my latest findings while debugging mentioned request:&lt;br/&gt;
there is an issue with yang-ext module as I can see status at relevant breakpoint:&lt;/p&gt;

&lt;p&gt;namespace: &quot;urn:opendaylight:yang:extension:yang-ext&quot;&quot;&lt;br/&gt;
localName: &quot;augment-identifier&quot;&lt;/p&gt;

&lt;p&gt;In XMLStreamWriterImpl.writeStartElement() and then NamespaceContextImpl.getPrefix(namespaceURI) returns null as we can observe in log. I can&apos;t see mentioned namespace in collection where look-up occurs:&lt;/p&gt;

&lt;p&gt;0 = &lt;/p&gt;
{java.lang.String@13663}
&lt;p&gt; &quot;xml&quot;&lt;br/&gt;
1 = &lt;/p&gt;
{java.lang.String@13664}
&lt;p&gt; &quot;http://www.w3.org/XML/1998/namespace&quot;&lt;br/&gt;
2 = &lt;/p&gt;
{java.lang.String@13665}
&lt;p&gt; &quot;xmlns&quot;&lt;br/&gt;
3 = &lt;/p&gt;
{java.lang.String@13666}
&lt;p&gt; &quot;http://www.w3.org/2000/xmlns/&quot;&lt;br/&gt;
4 = &lt;/p&gt;
{java.lang.String@13195} &quot;&quot;&lt;br/&gt;
5 = {java.lang.String@13098} &quot;urn:ietf:params:xml:ns:yang:yin:1&quot;&lt;br/&gt;
6 = {java.lang.String@13195}
&lt;p&gt; &quot;&quot;&lt;br/&gt;
7 = &lt;/p&gt;
{java.lang.String@13098}
&lt;p&gt; &quot;urn:ietf:params:xml:ns:yang:yin:1&quot;&lt;br/&gt;
8 = &lt;/p&gt;
{java.lang.String@13667}
&lt;p&gt; &quot;yang&quot;&lt;br/&gt;
9 = &lt;/p&gt;
{java.lang.String@13668}
&lt;p&gt; &quot;urn:ietf:params:xml:ns:yang:ietf-yang-types&quot;&lt;br/&gt;
10 = &lt;/p&gt;
{java.lang.String@13669}
&lt;p&gt; &quot;oxm&quot;&lt;br/&gt;
11 = &lt;/p&gt;
{java.lang.String@13670}
&lt;p&gt; &quot;urn:opendaylight:openflow:oxm&quot;&lt;br/&gt;
12 = &lt;/p&gt;
{java.lang.String@13671}
&lt;p&gt; &quot;oft&quot;&lt;br/&gt;
13 = &lt;/p&gt;
{java.lang.String@13672}
&lt;p&gt; &quot;urn:opendaylight:openflow:common:types&quot;&lt;br/&gt;
14 = &lt;/p&gt;
{java.lang.String@13673}
&lt;p&gt; &quot;ofinstruction&quot;&lt;br/&gt;
15 = &lt;/p&gt;
{java.lang.String@13674}
&lt;p&gt; &quot;urn:opendaylight:openflow:common:instruction&quot;&lt;br/&gt;
16 = &lt;/p&gt;
{java.lang.String@13675}
&lt;p&gt; &quot;ofproto&quot;&lt;br/&gt;
17 = &lt;/p&gt;
{java.lang.String@13676}
&lt;p&gt; &quot;urn:opendaylight:openflow:protocol&quot;&lt;br/&gt;
18 = &lt;/p&gt;
{java.lang.String@13677}
&lt;p&gt; &quot;ofaction&quot;&lt;br/&gt;
19 = &lt;/p&gt;
{java.lang.String@13678}
&lt;p&gt; &quot;urn:opendaylight:openflow:common:action&quot;&lt;/p&gt;

&lt;p&gt;It needs further investigation.&lt;/p&gt;</comment>
                            <comment id="43608" author="pkajsa" created="Wed, 28 Oct 2015 15:24:59 +0000"  >&lt;p&gt;fix: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/28894/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/28894/1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="43609" author="dmalacho@cisco.com" created="Fri, 30 Oct 2015 12:38:28 +0000"  >&lt;p&gt;Tested the fix, export works correctly now.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13031" name="openflow-protocol.xml" size="105556" author="malachovsky" created="Tue, 20 Oct 2015 15:29:05 +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>4504</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=4504]]></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_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

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

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