You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2012/07/04 12:48:34 UTC
[jira] [Resolved] (CMIS-550) atompub - null property filter becomes
empty string
[ https://issues.apache.org/jira/browse/CMIS-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florian Müller resolved CMIS-550.
---------------------------------
Resolution: Not A Problem
Assignee: Florian Müller
The spec says in section 3.6.1:
"URI Templates are simple replacement of the template parameter with the specified value. If a client does not want to specify a value for some of these variables, then the client MUST substitute an empty string for the variable."
Server must be able to deal with null and an empty string. A web services client could also send an empty string filter.
> atompub - null property filter becomes empty string
> ---------------------------------------------------
>
> Key: CMIS-550
> URL: https://issues.apache.org/jira/browse/CMIS-550
> Project: Chemistry
> Issue Type: Bug
> Affects Versions: OpenCMIS 0.7.0
> Reporter: Michael Brackx
> Assignee: Florian Müller
>
> When using the atompub binding, no filter on the client side (null) becomes empty string on the server side ("").
> When using the webservice binding the filter is null on the server side.
> This occurs when running the tck CRUDTestGroup.
> In AbstractAtomPubService the url is constructed with a filter query parameter (...&filter=&...).
> Probably no query parameter should added if the value is null.
--
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