Itamar Shtull-Trauring wrote:
> All the objects in /websites/example are being catalogged with paths such as
> /websites/example/folder/myObject. 

Using getPhysicalPath I hope and pray...

> However, when I gets the objects path
> using getpath(), it's not adjusted based on the virtual hosting settings -
> it's still /websites/example/folder/myObject, not /folder/myObject as it
> should be.

That's as expected. I guess there needs to be some discussion about what
'should' happen here.
I reckon there should be a getVirtualPath as well as a getPath.
Comments welcome...

For now, the workaround getobject().absolute_url() should work, but does
mean loading the whole object into memory :-(



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to