jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-131) Session.save() silently discards pending changes
Date Wed, 06 Jun 2012 16:44:23 GMT
Julian Reschke created OAK-131:
----------------------------------

             Summary: Session.save() silently discards pending changes
                 Key: OAK-131
                 URL: https://issues.apache.org/jira/browse/OAK-131
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: jcr
            Reporter: Julian Reschke


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


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message