[
https://issues.apache.org/jira/browse/SLING-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Peltier reopened SLING-7692:
------------------------------------
Hey [[email protected]] in fact it's not entirely done :-/ at least one
usage of refresh(false) is done, in
org.apache.sling.testing.mock.sling.context.SlingContextImpl.tearDown
should i :
# revert that change completely, assuming we want this either to be supported,
or silent?
# add a catch clause in SlingContextImpl,
# remove the {{false}} parameter of the refresh?
> MockSession.revert(false) support should be clearer
> ---------------------------------------------------
>
> 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
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)