[ https://issues.apache.org/jira/browse/SLING-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16496244#comment-16496244 ]
Nicolas Peltier commented on SLING-7692: ---------------------------------------- [~sseif...@pro-vision.de] re-thinking about it, wouldn't it be acceptable to : # backup the items map at save time # revert to the backup if refresh is false? wdyt? > MockSession.revert(false) should send UnsupportedOperationException > ------------------------------------------------------------------- > > Key: SLING-7692 > URL: https://issues.apache.org/jira/browse/SLING-7692 > Project: Sling > Issue Type: Improvement > Components: Testing > Affects Versions: Testing JCR Mock 1.3.2 > Reporter: Nicolas Peltier > Assignee: Nicolas Peltier > Priority: Major > Fix For: Testing JCR Mock 1.3.4 > > > MockSession does not cancel the changes when refresh(false) is called, hence > resolver.revert() not working in case JCR_MOCK is used -- This message was sent by Atlassian JIRA (v7.6.3#76005)