Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-131

Session.save() silently discards pending changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.3
    • jcr
    • None

    Description

      SessionTest.testSaveInvalidStateException fails in OAK because save() implicitly calls refresh(true) (which is good), but refresh(true) discards pending changes (because the node being modified is gone in persistent storage).

      See also mail thread starting here: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201206.mbox/browser

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: