<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:34 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>[BGPCEP-947] BGP update message attributes parse failed, when message contains unrecognized attribute type</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-947</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;Unrecognized BGP attributes accumulated and propagated into next BGP update messages.&lt;/p&gt;

&lt;p&gt;When BGP update messages contain unrecognized attributes, they are accumulated in the&#160;org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleAttributeRegistry and parsing process is failed with exception like following:&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;
Could not parse BGP attributes. Caused by: java.lang.IllegalArgumentException: Multiple entries with same key: UnrecognizedAttributesKey{_type=32}=UnrecognizedAttributes{_type=32, _value=[*], _partial=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, _transitive=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, augmentation=[]} and UnrecognizedAttributesKey{_type=32}=UnrecognizedAttributes{_type=32, _value=[*], _partial=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, _transitive=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;, augmentation=[]}. To index multiple values under a key, use Multimaps.index.&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This happens due to&#160;org.opendaylight.protocol.bgp.parser.spi.pojo.SimpleAttributeRegistry#unrecognizedAttributes list has to be local variable or flushed between messages parsing.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Also the library doesn&apos;t support duplicate attributes: unrecognized or recognized.&lt;/p&gt;

&lt;p&gt;Unrecognized attributes can&apos;t be duplicated due to AttributesBuilder doesn&apos;t allow unrecognizedAttributes with same keys (doesn&apos;t use mulimap).&lt;/p&gt;

&lt;p&gt;Recognized attributes can&apos;t be duplicated, due to&#160;SimpleAttributeRegistry doesn&apos;t ignore duplicate attributes correctly: attribute skipped, but bytes aren&apos;t. So next attribute is read from the incorrect byte buffer position.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;org.opendaylight.bgpcep:bgp-parser-spi:0.14.1&lt;/p&gt;</description>
                <environment></environment>
        <key id="33850">BGPCEP-947</key>
            <summary>BGP update message attributes parse failed, when message contains unrecognized attribute type</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="kegorov">Kirill Egorov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Mar 2021 08:52:28 +0000</created>
                <updated>Thu, 4 Mar 2021 09:29:25 +0000</updated>
                                                                            <component>BGP</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|i03xev:</customfieldvalue>

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