Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-154

Transaction readOperationalData() vs. removeOperationalData()

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 414
    • High

    Description

      DataModificationTransaction is supposed to reflect a consistent view on the data tree. Issuing the following sequence of calls:

      1) readOperationalData(some.identifier)
      2) putOperationalData(some.identifier.child)
      3) readOperationalData(some.identifier)

      will result in 3) reporting the data as if 2) has never happened. This needs to be addressed by lazily instantiating the binding-aware objects and tying them lazily to the backing store snapshot. This is especially true for things like:

      List<Object> list = trans.readOperationalData(some.identifier)
      trans.putOperationalData(some.identifier.listKey, object)
      for (Object o : list) {
      // object should be visible
      }

      Attachments

        Issue Links

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

          Activity

            People

              tony.tkacik@gmail.com Tony Tkacik
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: