<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:35 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-889] Using wrong prefix on augmentation not caught</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-889</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;given&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;import&lt;/span&gt; openconfig-bgp-policy { prefix bgppol; }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and using&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&#160;augment /rpol:routing-policy/rpol:policy-definitions/rpol:policy-definition/rpol:statements/rpol:statement/rpol:actions/bgp-pol:bgp-actions {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Notice bgpol != bgp-pol&lt;/p&gt;

&lt;p&gt;won&apos;t produce any error or complain. Whether this doesn&apos;t seems to have any negative impact,&lt;/p&gt;

&lt;p&gt;it should be addressed correctly.&lt;/p&gt;

&lt;p&gt;Code Example&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/73697/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/73697/&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30261">YANGTOOLS-889</key>
            <summary>Using wrong prefix on augmentation not caught</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <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="rovarga">Robert Varga</assignee>
                                    <reporter username="cdgasparini">Claudio David Gasparini</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Jul 2018 10:45:32 +0000</created>
                <updated>Tue, 31 Jul 2018 11:48:29 +0000</updated>
                            <resolved>Tue, 10 Jul 2018 07:23:15 +0000</resolved>
                                    <version>2.0.7</version>
                                    <fixVersion>2.0.8</fixVersion>
                    <fixVersion>2.0.6.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="63864" author="cdgasparini" created="Tue, 3 Jul 2018 12:44:32 +0000"  >&lt;p&gt;No issue is observed, but I would expect&#160;an alert or error when using wrong prefix.&lt;/p&gt;</comment>
                            <comment id="63963" author="rovarga" created="Mon, 9 Jul 2018 00:18:00 +0000"  >&lt;p&gt;This boils down to SourceSpecificContext.getFromLocalStorage() looking also into imported modules&apos; storage &#8211; and finding a match provided by openconfig-bgp-policy.yang&apos;s prefix statement. That is wrong and seems to contradict the intended behavior of the ImportPrefixToModuleCtx.&lt;/p&gt;</comment>
                            <comment id="63974" author="rovarga" created="Mon, 9 Jul 2018 16:07:29 +0000"  >&lt;p&gt;As it turns out the namespace behaviour of ImportPrefixToModuleCtx is wrong, as it should not be NamespaceBehaviour.sourceSpecific(), but limited to root statement.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03gcf:</customfieldvalue>

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