<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:38 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>[MDSAL-96] Using &quot;merge&quot; method update data can&apos;t get datachange.</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-96</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Yang model like this:&lt;br/&gt;
grouping c-struct {&lt;br/&gt;
    leaf lf &lt;/p&gt;
{
        type string;
    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;container test-cs {&lt;br/&gt;
    container test-c1 &lt;/p&gt;
{
        uses c-struct;
    }&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
rpc mergeC1 {&lt;br/&gt;
    input {        uses c-struct;    }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;rpc putC1 {&lt;br/&gt;
    input &lt;/p&gt;
{
        uses c-struct;
    }
&lt;p&gt;}&lt;br/&gt;
------------------------------------------------------------------------------------&lt;br/&gt;
Register test-c1&apos;s changes, scope is BASE.&lt;/p&gt;

&lt;p&gt;when use tx.put(store, path, t, createMissingParents), data change listener can get data chage event, otherwise use tx.merge(store, path, t, createMissingParents) can&apos;t. Test-c1&apos;s value in datastore are both changed using two method.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26918">MDSAL-96</key>
            <summary>Using &quot;merge&quot; method update data can&apos;t get datachange.</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="10001">Won&apos;t Do</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="chen.xi26@zte.com.cn">Leo Cat</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Jul 2015 08:22:59 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:09 +0000</updated>
                            <resolved>Fri, 23 Feb 2018 14:17:42 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="54148" author="chen.xi26@zte.com.cn" created="Thu, 30 Jul 2015 02:57:48 +0000"  >&lt;p&gt;The reson is in Lithium, uses merge method to modify test-c1, test-c1.getModificationType() returns SUBTREE_MODIFIED. So the program continues to resolve test-c1&apos;s child lf. But lf has no listener, therfore can&apos;t get notification.&lt;br/&gt;
In Helium-SR3 instead, test-c1.getModificationType() returns MERGE.&lt;/p&gt;</comment>
                            <comment id="61180" author="rovarga" created="Fri, 23 Feb 2018 14:17:42 +0000"  >&lt;p&gt;DataChangeListeners have unfixable issues translating scope and are going away.&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>4059</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=4059]]></customfieldvalue>

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

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