[Zope] NauSchduler problem

Barry Drake bldrake at adaptcs.com
Wed Aug 3 15:29:34 EDT 2005


Dieter,
Thank you.  I replaced the call

obj.absolute_url()

with

obj.getPhysicalPath()

and prepended the portal URL in my code.  That way the
URL is not overwritten with the physical path by
NauScheduler.

Barry

--- Dieter Maurer wrote:

> Barry Drake wrote at 2005-8-2 14:00 -0700:
> > ...
> >The Script Python that sends the digest works fine
> >when tested alone, but when I run it from NS the
> URL,
> >gotten from obj.absolute_url(), is replace with the
> >physical path.
> 
> And what is it otherwise?
> 
> Note that "absolute_url" combines the physical path
> with request information.
> 
> When you use it from the scheduler, there probably
> is not request.
> Therefore, you may get only the physical path
> part...
> 
> -- 
> Dieter
> 



More information about the Zope mailing list