Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-96

Using "merge" method update data can't get datachange.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Won't Do
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 4059

    Description

      Yang model like this:
      grouping c-struct {
      leaf lf

      { type string; }

      }

      container test-cs {
      container test-c1

      { uses c-struct; }
      }

      rpc mergeC1 {
      input { uses c-struct; }

      }

      rpc putC1 {
      input

      { uses c-struct; }

      }
      ------------------------------------------------------------------------------------
      Register test-c1's changes, scope is BASE.

      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't. Test-c1's value in datastore are both changed using two method.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            chen.xi26@zte.com.cn Leo Cat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: