Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F1F1C9BAD for ; Thu, 5 Apr 2012 16:04:46 +0000 (UTC) Received: (qmail 78433 invoked by uid 500); 5 Apr 2012 16:04:46 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 78364 invoked by uid 500); 5 Apr 2012 16:04:46 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 78200 invoked by uid 99); 5 Apr 2012 16:04:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 16:04:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 16:04:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 9D85035A0D1 for ; Thu, 5 Apr 2012 16:04:22 +0000 (UTC) Date: Thu, 5 Apr 2012 16:04:22 +0000 (UTC) From: "jay brown (Commented) (JIRA)" To: dev@chemistry.apache.org Message-ID: <1461070503.17545.1333641862646.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1231028872.14485.1333578743602.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CMIS-521) Empty non-required ID properties on documents are mistakenly flagged as a test failures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CMIS-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247320#comment-13247320 ] jay brown commented on CMIS-521: -------------------------------- Thanks Florian for looking into this so quickly! We have verified your findings and will resolve on our end. > Empty non-required ID properties on documents are mistakenly flagged as a test failures > --------------------------------------------------------------------------------------- > > Key: CMIS-521 > URL: https://issues.apache.org/jira/browse/CMIS-521 > Project: Chemistry > Issue Type: Bug > Components: opencmis-tck > Affects Versions: OpenCMIS 0.7.0 > Environment: n/a > Reporter: jay brown > Priority: Minor > Labels: test > Fix For: OpenCMIS 0.7.0 > > > I just noticed that we have failures when we run against our public P8 CMIS server > (Ask Florian for url/creds/etc for our test server - he has them) > Here is what is happening. The class CMISScalars is a test class with a bunch of test properties to exercise property persistence. > CMISObject is a not-required prop of type ID. > When it is not set (as it is not usually set in our tests) is comes across in the XML responses like this: > > That is - empty, which is valid. > But the TCK test fails in several places when it encounters objects with this unset property with this message: > FAILURE: PWC check: idd_FA946B30-018C-42C2-AE69-E4EDACCB894F (AbstractCmisTest.java:125) > FAILURE: Property CMISObject (AbstractSessionTest.java:2847) > FAILURE: Property is not included in response! (AbstractSessionTest.java:2845) > INFO: Object is null! > AbstractSessionTest.checkProperty is getting called for this prop and it is dutifully returning a failure since its null. (at least that is what it looks like) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira