<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:14:18 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-851] PCEP base parser is unable to handle multiple ERO</title>
                <link>https://jira.opendaylight.org/browse/BGPCEP-851</link>
                <project id="10108" key="BGPCEP">bgpcep</project>
                    <description>&lt;p&gt;When sending a PCReply message with more than one ERO object, as per RFC540, the PCEP base parser start infinite loop and stop with a java heap exception.&lt;/p&gt;

&lt;p&gt;The problem is located in&#160;PCEPReplyMessageParser.java (pcep-base-parser package) at line&#160;217&#160;in&#160;handleEro() method. handleEro() is called with the first ERO object and remaining object to parse metrics associated with this ERO. The parsing is done by parserPath() method, but this method expect to fin only metrics object. When a second ERO follow the last metric of the first ERO, parsePath() method do nothing and handleEro() method start infinite loop at line 220 as the object list is not empty and parsePath() will not empty it.&lt;/p&gt;

&lt;p&gt;Patch is provide below and submitted.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31125">BGPCEP-851</key>
            <summary>PCEP base parser is unable to handle multiple ERO</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="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="odd22">Olivier Dugeon</assignee>
                                    <reporter username="odd22">Olivier Dugeon</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2018 13:11:46 +0000</created>
                <updated>Sun, 3 Mar 2019 11:50:06 +0000</updated>
                            <resolved>Thu, 6 Dec 2018 17:58:31 +0000</resolved>
                                    <version>Bugzilla Migration</version>
                                    <fixVersion>Neon</fixVersion>
                    <fixVersion>Fluorine SR2</fixVersion>
                                    <component>PCEP</component>
                        <due>Mon, 31 Dec 2018 00:00:00 +0000</due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                    <workratio workratioPercent="0"/>
                                    <progress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </currentProgress>
                            </progress>
                                    <aggregateprogress percentage="0">
                                    <originalProgress>
                                                    <row percentage="100" backgroundColor="#89afd7"/>
                                            </originalProgress>
                                                    <currentProgress>
                                                    <row percentage="0" backgroundColor="#51a825"/>
                                                    <row percentage="0" backgroundColor="#ec8e00"/>
                                                    <row percentage="100" backgroundColor="transparent"/>
                                            </currentProgress>
                            </aggregateprogress>
                                    <timeoriginalestimate seconds="3600">1 hour</timeoriginalestimate>
                            <timeestimate seconds="0">0 minutes</timeestimate>
                                        <comments>
                            <comment id="65809" author="cdgasparini" created="Wed, 28 Nov 2018 15:59:06 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.opendaylight.org/secure/ViewProfile.jspa?name=odd22&quot; class=&quot;user-hover&quot; rel=&quot;odd22&quot;&gt;odd22&lt;/a&gt;, thanks for the contribution. Could you please add test coverage, or update corresponding test to cover such scenario.&lt;/p&gt;

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

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="65845" author="odd22" created="Fri, 30 Nov 2018 16:19:42 +0000"  >&lt;p&gt;Hi Claudio&lt;/p&gt;

&lt;p&gt;Done and submitted to gerrit.&lt;/p&gt;

&lt;p&gt;Olivier&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15058" name="PCEPReplyMessageParser.diff" size="1943" author="odd22" created="Wed, 28 Nov 2018 13:11:00 +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_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

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

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