sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Honwai Wong (JIRA)" <>
Subject [jira] [Created] (SLING-7314) Dry run not working
Date Thu, 14 Dec 2017 16:21:00 GMT
Honwai Wong created SLING-7314:

             Summary: Dry run not working
                 Key: SLING-7314
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: pipes 1.1.0
            Reporter: Honwai Wong

I worked with [~npeltier] to define a pipe to perform content migration, see below for an
example of this pipe:
def plumber = getService("");

    .mv('${path.startPath.replace("/bar", "/xyz")}')
    .mkdir('${path.parentContent}/bar').with('nodeType', 'nt:unstructured').name('targetResource')
    .write('sling:resourceType', 'test/components/somecomponent')
    .runWith("dryRun", "true");

However, the {{dryRun}} argument is not taken into account, the changes are actually persisted
in the repository.

This message was sent by Atlassian JIRA

View raw message