chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-924) Value 'trailing.txt ' is not valid as a file name. This property must be a valid file name
Date Fri, 26 Jun 2015 16:30:05 GMT

    [ https://issues.apache.org/jira/browse/CMIS-924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14603148#comment-14603148
] 

Dmitry commented on CMIS-924:
-----------------------------

[~fmui], the problem is 'org.apache.chemistry.opencmis.tck.tests.crud.WhitespaceInNameTest'
fails with 'UNEXPECTED_EXCEPTION' (red lines). It does not inform that names with trailing
spaces are not supported by repository. For example, leading spaces are supported, and TCK
tests report contains the following information:

{noformat}
INFO: Repository does supports document names with a leading space
{noformat}

The server sends the 409 'Conflict' HTTP status to a request to create a document with a trailing
space in the name (it is the correct behavior in accordance with the CMIS specification).
But the 'WhitespaceInNameTest' test fails and reporting 'UNEXPECTED_EXCEPTION'.

It looks like this test should report 'INFO' entry instead of 'UNEXPECTED_EXCEPTION'.

Please, let me know if you need additional information

> Value 'trailing.txt ' is not valid as a file name. This property must be a valid file
name
> ------------------------------------------------------------------------------------------
>
>                 Key: CMIS-924
>                 URL: https://issues.apache.org/jira/browse/CMIS-924
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.11.0, OpenCMIS 0.12.0, OpenCMIS 0.13.0
>            Reporter: Dmitry
>
> {noformat}
> UNEXPECTED_EXCEPTION: Document could not be created! Exception: Constraint violation:
03230002 Found 1 integrity violations: Invalid property value: Node: 340d4304-26d3-4499-a3ae-31ee9a9bb81a
Name: trailing.txt Type: content Property: name Constraint: 03230001 Value 'trailing.txt '
is not valid as a file name. This property must be a valid file name. (AbstractSessionTest.java:470)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message