Re: CPSRelation/CPSComment abstraction branches

Yves Bastide <[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.