[Zope] Virtual Host breaks IssueTracker?

Peter Bengtsson mail@peterbe.com
Sat, 08 Feb 2003 22:02:42 +0000


At 11:42 2003-02-08 +0100, Dieter Maurer wrote:
>Matthew Wilbert wrote at 2003-2-4 17:00 -0500:
>  > ...
>  > Is it a known thing that using virtual hosts breaks some products?
>I do not know such products but it may be possible...
>  > ....
>  > Module Python expression "here.getRoot().title_or_id()", line 2, in f
>  > AttributeError: 'None' object has no attribute 'title_or_id'
>Looks like "getRoot" returns "None".
>
>   Find this method's source and check why it behaves wrong.

No, getRoot() was "my" method. It sort of relied on the URL and hence it, 
like you said, returns None.
It's fixed now.

>   Then fix it and file a collector entry.
>
>
>Dieter
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )