Anahide Tchertchian wrote:
Hi all,

CPSRelation and CPSComment trunk versions have been replaced by their respective abstraction versions. Branches have been removed. If you need the old versions, you can use the CPSRelation/tags/no_abstraction and CPSComment/tags/no_abstraction tags.

* upgrading CPSRelation results in broken (IOBTree, at least) graphs

* Is there a conversion guide available?

* RelationTool methods generally need the ManagePortal permission. E g., AFAIK,

    relids = rtool.getRelationsFor(GRAPH_ID, docid, relation)

is now:

    graph = rtool.getGraph(GRAPH_ID)
    relids = graph.getSubjects(relation, docid)

But while getRelationsFor only needed the View permission, getGraph needs ManagePortal


Regards,



yves

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to