When creating a Relation in the web interface, using the dedicated tab on a document, a "link" is created in Nuxeo between two documents. However, this link does not show up as a Relationship when the document is viewed through the CMIS interface. In fact, it does not show up at all: the document stays exactly the same than before the Relation was added.
Similarily, creating a relationship (with the typeId "Relation", which seems somewhat related to Nuxeo Relations?) on the CMIS side will work fine, but the relationship won't show up as a Relation on the web interface. In this case, though, I'm not sure I properly filled the required properties (I don't know exactly how the "relation:predicate" field should look like, for instance).
It seems as if the Relations and the CMIS Relationships had a different storage place, and were not connected at all.
Steps to reproduce:
- Create two files ("test1" and "test2") on Nuxeo Web interface
- Use the CMIS Workbench (http://chemistry.apache.org/java/developing/tools/dev-tools-workbench.html) to access these documents. They have no relationships (that's OK)
- In Nuxeo web interface, on the Relations tab, create a Relation (say, "References") from "test1" to "test2". The Relation appears in the Relations tab.
- Refresh the documents on the CMIS workbench. Nothing changes, no new relationships (that's not OK... is it?)