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

Reply via email to