Uploaded image for project: 'neutron'
  1. neutron
  2. NEUTRON-122

Updated objects should not be rewritten in WriteTransaction

    XMLWordPrintable

Details

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

    • 5734
    • High

    Description

      When listening to changes in DS, "put" creates/replaces data. When changing properties of an object in WriteTransaction by using "put", various listener implementations expect data modification and not creation/replacement.

      E.g. when a class implements listening to changes in DS by extending DataTreeChangeListener, modification type WRITE is received when modifying existing data in transactions by "put". However, by using "merge" received modification type is SUBTREE_MODIFIED, which is a proper consequence.

      Attachments

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

        Activity

          People

            tcechval Tomas Cechvala
            tcechval Tomas Cechvala
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: