chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaime Porras López (JIRA) <>
Subject [jira] [Created] (CMIS-714) Update Smoke Test: always fail with empty properties
Date Thu, 29 Aug 2013 09:26:55 GMT
Jaime Porras López created CMIS-714:

             Summary: Update Smoke Test: always fail with empty properties
                 Key: CMIS-714
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-tck
    Affects Versions: OpenCMIS 0.10.0
            Reporter: Jaime Porras López

Update a docuemnt with an empty set of properties is tried as part of the Update Smoke Test.
This is always failing because the OpenCMIS client is checking that the set ois not empty.
So the exception is always thrown in the OpenCMIS client, not in the server.

{code:title=Update Smoke Test code}
org.apache.chemistry.opencmis.tck.tests.crud.UpdateSmokeTest.updateDocument(Session, Folder)
        // update nothing
        try {
            properties = new HashMap<String, Object>();
            doc2.updateProperties(properties, false);
        } catch (Exception e) {
                    "updateProperties without property changes returned an error: " + e.getMessage(),
e, false));

{code:title=OpenCMIS client code}		
?>, boolean)
        if (properties == null || properties.isEmpty()) {
            throw new IllegalArgumentException("Properties must not be empty!");

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message