<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:44 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-602] Reference type in same module with prefix fails to compile</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-602</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Using latest Boron snapshots.&lt;/p&gt;

&lt;p&gt;Using the following simple module description:&lt;br/&gt;
--------------------&lt;br/&gt;
module bad {&lt;br/&gt;
    namespace &quot;urn:opendaylight:bad&quot;;&lt;br/&gt;
    prefix &quot;bad&quot;;&lt;/p&gt;

&lt;p&gt;    revision 2016-04-11 &lt;/p&gt;
{
        description &quot;Initial revision&quot;;
    }
&lt;p&gt;    typedef thing &lt;/p&gt;
{
        type uint32;
    }
&lt;p&gt;    typedef thing2 &lt;/p&gt;
{
        type bad:thing; // Error on this line
        //type thing;
    }
&lt;p&gt;}&lt;br/&gt;
---------------&lt;/p&gt;

&lt;p&gt;Yangtools apparently fails to compile this.  It can&apos;t resolve the type reference in the line marked &quot;Error on this line&quot;.  If I instead comment out that line and comment back in the second line, it compiles without error.&lt;/p&gt;

&lt;p&gt;The reason I stated &quot;apparently&quot; is because I see this error when I view the module in the Eclipse YangIDE plugin, but if I build the corresponding project on the command line, I do not see any error for this.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23022">YANGTOOLS-602</key>
            <summary>Reference type in same module with prefix fails to compile</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="dkarr">David M. Karr</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Apr 2016 19:17:48 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:46 +0000</updated>
                            <resolved>Mon, 18 Apr 2016 13:23:12 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43855" author="davidmichaelkarr@gmail.com" created="Tue, 12 Apr 2016 20:24:57 +0000"  >&lt;p&gt;Oh, and if it matters, I only accidentally discovered this, because the same pattern is found in &quot;ietf-yang-types.yang&quot;.  The particular copy I was using is vesion &quot;2010.09.24.7.5-SNAPSHOT&quot;.&lt;/p&gt;</comment>
                            <comment id="43856" author="pkajsa" created="Thu, 14 Apr 2016 12:40:48 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;we test the attached model with both old and new yang parser and everything works fine. You said that you find the same pattern in ietf-yang-types.yang, so therefore it must work ok, because this yang model is parsed by almost each schema context build.&lt;/p&gt;

&lt;p&gt;Here is the unit test:&lt;br/&gt;
&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/37599/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/37599/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If the issue still persists, please can you attach also the stacktrace or the log.&lt;/p&gt;

&lt;p&gt;Thanks&lt;br/&gt;
Peter&lt;/p&gt;</comment>
                            <comment id="43857" author="davidmichaelkarr@gmail.com" created="Thu, 14 Apr 2016 17:47:34 +0000"  >&lt;p&gt;Ok, we can close this.&lt;/p&gt;

&lt;p&gt;For some reason, the YangIDE does additional validation after the parse completes, and this wasn&apos;t looking at prefixes properly.&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5712</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=5712]]></customfieldvalue>

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

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