[ 
http://jira.nuxeo.org/browse/NXP-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53868#action_53868
 ] 

Radu Darlea commented on NXP-3632:
----------------------------------

It looks like there is a small problem in 
org.nuxeo.ecm.platform.syndication.vocabularies.Tree used by this restlet to 
build the exported XML. Basically , each time an element from a xvocabulary is 
to be added into  a Map with elements, its parent is searched into a Map that 
is always empty. If the parents isn't found the element is not added. In the 
end, no element is returned, because this map remains empty.
The fix is to add an entry for each parent: I need to change the signature of a 
function or add a new one, and call it from the restlet.


> Vocabulary restlet fails on a xvocabulary
> -----------------------------------------
>
>                 Key: NXP-3632
>                 URL: http://jira.nuxeo.org/browse/NXP-3632
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Mariana Cedica
>            Assignee: Mariana Cedica
>
> A call on a xvocabulary returns an empty XML, instead of exporting all the 
> entries from this vocabulary.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to