Skip to content

Non-zero exit code upon successful JCR node modification #40

@jwadolowski

Description

@jwadolowski

Hey,

$ ~/projects/CQ-Unix-Toolkit/cqjcr -i http://localhost:4502 -u admin -p admin -a /content/geometrixx/en/products/jcr:content -n jcr:primaryType -v cq:PageContent
Creating/modyfing /content/geometrixx/en/products/jcr:content
  Setting 'jcr:primaryType' to: 'cq:PageContent' 
Successfully created/modified: /content/geometrixx/en/products/jcr:content
$ echo $?                                                                                                                   
1

CQ/AEM response was 200 as stated below

10.0.2.2 - admin 31/Jul/2015:14:01:13 +0000 "POST /content/geometrixx/en/products/jcr:content HTTP/1.1" 200 1735 "http://localhost:4502/content/geometrixx/en/products/jcr:content" "curl/7.35.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions