Nuxeo mailing list archives
[CPS-devel] Re: CPSRelation/CPSComment abstraction branches
Yves Bastide
ybastide at wanadoo.fr
Mon Oct 9 17:44:21 CEST 2006
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
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.