Support Asset#setBatchMode(boolean)

Description

To support adding renditions to an Asset in a transactional context, setBatchMode() should be implemented to prevent the changes being commited.

See https://docs.adobe.com/docs/en/aem/6-2/develop/ref/javadoc/com/day/cq/dam/api/Asset.html#setBatchMode(boolean)

Gliffy Diagrams

Activity

Show:

Stefan Seifert December 16, 2016 at 3:00 PM

adapted to latest sling-mock API changes and merged in release 2.x and 1.x

Stefan Seifert December 12, 2016 at 3:34 PM

thanks for the contribution!
your PR is: https://github.com/wcm-io/wcm-io-testing/pull/2

we'll have to wait until either the next jcr-mock+sling-mock release is done, or the current aem-mock 2.2.0 is released - i do not want to block the next release with snapshot references to them.

Dirk Rudolph December 10, 2016 at 10:12 PM

Requires SLING-6387 and SLING-6388 being resolved

Fixed

Details

Assignee

Reporter

Components

Priority

Created December 10, 2016 at 8:41 PM
Updated December 16, 2016 at 3:00 PM
Resolved December 16, 2016 at 3:00 PM