<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:27 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-505] malformed union type not caught at compile time</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-505</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;I (mis)defined a union as this (missing &apos;type&apos; keywords inside the union):&lt;/p&gt;

&lt;p&gt;  leaf datapath-id {&lt;br/&gt;
     type union &lt;/p&gt;
{
        yang-types:hex-string;
        uint64;
   }

&lt;p&gt;The parser did not complain, but at run time i got the following exception:&lt;/p&gt;

&lt;p&gt;2015-09-14 19:41:54,787 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 89: Failed to resolve node urn:ietf:params:xml:ns:yang:ietf-yang-types:hex-string : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:54,787 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 90: Failed to resolve node urn:opendaylight:openflow-pce-topology:uint64 : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,054 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 89: Failed to resolve node urn:ietf:params:xml:ns:yang:ietf-yang-types:hex-string : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,054 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 90: Failed to resolve node urn:opendaylight:openflow-pce-topology:uint64 : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,386 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 89: Failed to resolve node urn:ietf:params:xml:ns:yang:ietf-yang-types:hex-string : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,386 | WARN  | bundle-tracker-0 | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 90: Failed to resolve node urn:opendaylight:openflow-pce-topology:uint64 : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,878 | WARN  | ty-notifications | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 89: Failed to resolve node urn:ietf:params:xml:ns:yang:ietf-yang-types:hex-string : no such extension definition found.&lt;br/&gt;
2015-09-14 19:41:55,878 | WARN  | ty-notifications | YangParserImpl                   | 79 - org.opendaylight.yangtools.yang-parser-impl - 0.8.0.SNAPSHOT | Error in module of-l3-topology at line 90: Failed to resolve node urn:opendaylight:openflow-pce-topology:uint64 : no such extension definition found.&lt;/p&gt;


&lt;p&gt;The parser should catch this syntax error.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22925">YANGTOOLS-505</key>
            <summary>malformed union type not caught at compile time</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="-1">Unassigned</assignee>
                                    <reporter username="jmedved@cisco.com">Jan Medved</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Sep 2015 02:48:48 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:37 +0000</updated>
                            <resolved>Fri, 18 Dec 2015 09:03:31 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="43515" author="martin.ciglan" created="Wed, 16 Sep 2015 11:04:03 +0000"  >&lt;p&gt;Hi Jan&lt;/p&gt;

&lt;p&gt;Basically, both (mis)defined statements were recognized as unknown ones. &lt;br/&gt;
Obviously, there are no such extensions defined, so warning messages are valid.&lt;/p&gt;

&lt;p&gt;If we want parser to recognize this type of input error, we would need to implement extra functionality to check all TYPE statements afterwards and inform user accordingly.&lt;/p&gt;</comment>
                            <comment id="43516" author="rovarga" created="Tue, 10 Nov 2015 19:46:14 +0000"  >&lt;p&gt;The parser should be reacting rather strongly to such a yang file now &amp;#8211; is this still reproducible (e.g. silent failure)?&lt;/p&gt;</comment>
                            <comment id="43517" author="jmedved@cisco.com" created="Tue, 10 Nov 2015 23:41:21 +0000"  >&lt;p&gt;It is a silent failure in the sense that it gets detected at run time, not at compile time. Compilation finished just fine.&lt;/p&gt;</comment>
                            <comment id="43518" author="filip.gregor@pantheon.tech" created="Tue, 1 Dec 2015 10:10:42 +0000"  >&lt;p&gt;This issue is resolved in current yangtools code base, please retry&lt;/p&gt;</comment>
                            <comment id="43519" author="filip.gregor@pantheon.tech" created="Wed, 2 Dec 2015 14:49:41 +0000"  >&lt;p&gt;latest related patch: &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/30202/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/30202/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="22970">YANGTOOLS-550</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>4310</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=4310]]></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|i027n3:</customfieldvalue>

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