CPS 3.4.2 and getPhysicalPath

"sebastien.masson" <sebastien.masson-+4qp5d0/[email protected]>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
Hi,
I'm trying to set up a CPS 3.4.2 installation, using Zope 2.9.5 and
Python 2.4.3.
Even in an empty DefaultSite, I have a strange problem : all the urls
generated by actions portlets or displayed in the breadcrumbs are wrong,
as the object id (the same as the one in "portal_repository") follows
it's path.

Here is an illustration, with the home directory of a user named
"rtoto".(this output is produced by a dumb script of mine, which tests
several methods on objects) :

utool.getRpath(context) : members/rtoto/1493751988__0001

context.getPhysicalPath() : ('', 'cps', 'members', 'rtoto',
'1493751988__0001')

context.absolute_url()
:http://172.29.225.78:8080/cps/members/rtoto/1493751988__0001

context.thisProxyFolder() : ('', 'cps', 'members', 'rtoto')

The "getPhysicalPath" return value is wrong, and this impacts any
related method.



In order to go further, I've added a non-CPS specific Folder called
"ssdoss" in this homedir :

utool.getRpath(context) : members/rtoto/ssdoss

context.getPhysicalPath() : ('', 'cps', 'members', 'rtoto', 'ssdoss')

context.absolute_url() : http://172.29.225.78:8080/cps/members/rtoto/ssdoss

context.thisProxyFolder() : ('', 'cps', 'members', 'rtoto')

Everythings looks OK this time.



Any idea ?

Regards.








_______________________________________________
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.