You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Marco Spasiano (JIRA)" <ji...@apache.org> on 2012/05/25 09:55:22 UTC

[jira] [Created] (CMIS-535) Property Choice problem with Alfresco response

Marco Spasiano created CMIS-535:
-----------------------------------

             Summary: Property Choice problem with Alfresco response
                 Key: CMIS-535
                 URL: https://issues.apache.org/jira/browse/CMIS-535
             Project: Chemistry
          Issue Type: Bug
          Components: opencmis-client-bindings
    Affects Versions: OpenCMIS 0.7.0
         Environment: All
            Reporter: Marco Spasiano
            Priority: Blocker


In Alfresco I have a problem with choice because the response of type definition is like this:

...
<cmis:choiceString displayName="Arabo">
   <cmis:value>Arabo</cmis:value>
</cmis:choiceString>
...


And OpenCmis client don't parse this in ChoiceList but only in 
CmisExtensionElement

--
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

        

[jira] [Commented] (CMIS-535) Property Choice problem with Alfresco response

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283232#comment-13283232 ] 

Florian Müller commented on CMIS-535:
-------------------------------------

You are using Alfrescos deprecated CMIS interface.
Check http://<host>/alfresco/service/cmis/index.html .
                
> Property Choice problem with Alfresco response
> ----------------------------------------------
>
>                 Key: CMIS-535
>                 URL: https://issues.apache.org/jira/browse/CMIS-535
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.7.0
>         Environment: All
>            Reporter: Marco Spasiano
>            Priority: Blocker
>
> In Alfresco I have a problem with choice because the response of type definition is like this:
> ...
> <cmis:choiceString displayName="Arabo">
>    <cmis:value>Arabo</cmis:value>
> </cmis:choiceString>
> ...
> And OpenCmis client don't parse this in ChoiceList but only in 
> CmisExtensionElement

--
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

       

[jira] [Resolved] (CMIS-535) Property Choice problem with Alfresco response

Posted by "Florian Müller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-535.
---------------------------------

    Resolution: Not A Problem

Alfresco 3 is not spec compliant in this regard. The tag should be <cmis:choice> and not <cmis:choiceString>. This has been fixed in Alfresco 4.

                
> Property Choice problem with Alfresco response
> ----------------------------------------------
>
>                 Key: CMIS-535
>                 URL: https://issues.apache.org/jira/browse/CMIS-535
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.7.0
>         Environment: All
>            Reporter: Marco Spasiano
>            Priority: Blocker
>
> In Alfresco I have a problem with choice because the response of type definition is like this:
> ...
> <cmis:choiceString displayName="Arabo">
>    <cmis:value>Arabo</cmis:value>
> </cmis:choiceString>
> ...
> And OpenCmis client don't parse this in ChoiceList but only in 
> CmisExtensionElement

--
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

       

[jira] [Commented] (CMIS-535) Property Choice problem with Alfresco response

Posted by "Marco Spasiano (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283225#comment-13283225 ] 

Marco Spasiano commented on CMIS-535:
-------------------------------------

I have Alfresco 4.0.1 Enterprise and the code of ftl library atomentry.lib.atom.ftl is this:

[#if type == cmisconstants.DATATYPE_STRING]
<cmis:choiceString displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceString>
[#elseif type == cmisconstants.DATATYPE_INTEGER]
<cmis:choiceInteger displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceInteger>
[#elseif type == cmisconstants.DATATYPE_DECIMAL]
<cmis:choiceDecimal displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceDecimal>
[#elseif type == cmisconstants.DATATYPE_BOOLEAN]
<cmis:choiceBoolean displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceBoolean>
[#elseif type == cmisconstants.DATATYPE_DATETIME]
<cmis:choiceDateTime displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceDateTime>
[#elseif type == cmisconstants.DATATYPE_URI]
<cmis:choiceUri displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceUri>
[#elseif type == cmisconstants.DATATYPE_ID]
<cmis:choiceId displayName="${choice.name?xml}">
[@cmisChoices choice.children type/]
<cmis:value>[@stringvalue choice.value/]</cmis:value>
</cmis:choiceId>
                
> Property Choice problem with Alfresco response
> ----------------------------------------------
>
>                 Key: CMIS-535
>                 URL: https://issues.apache.org/jira/browse/CMIS-535
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.7.0
>         Environment: All
>            Reporter: Marco Spasiano
>            Priority: Blocker
>
> In Alfresco I have a problem with choice because the response of type definition is like this:
> ...
> <cmis:choiceString displayName="Arabo">
>    <cmis:value>Arabo</cmis:value>
> </cmis:choiceString>
> ...
> And OpenCmis client don't parse this in ChoiceList but only in 
> CmisExtensionElement

--
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

        

[jira] [Commented] (CMIS-535) Property Choice problem with Alfresco response

Posted by "Marco Spasiano (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CMIS-535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283237#comment-13283237 ] 

Marco Spasiano commented on CMIS-535:
-------------------------------------

Thanks a lot
                
> Property Choice problem with Alfresco response
> ----------------------------------------------
>
>                 Key: CMIS-535
>                 URL: https://issues.apache.org/jira/browse/CMIS-535
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.7.0
>         Environment: All
>            Reporter: Marco Spasiano
>            Priority: Blocker
>
> In Alfresco I have a problem with choice because the response of type definition is like this:
> ...
> <cmis:choiceString displayName="Arabo">
>    <cmis:value>Arabo</cmis:value>
> </cmis:choiceString>
> ...
> And OpenCmis client don't parse this in ChoiceList but only in 
> CmisExtensionElement

--
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