absolute url on http url
If i go to: http://mymachine.com:8080/absolute_url i get that which i would expect; it returns the absolute url of that object. Why is it that when i go to: http://mymachine.com:8080/any/other/object/absolute_url I get a zope error? Does acquisition not work? sRp
Oh wait, i didn't read the error message good enough. It turns out that somebody forgot their doc strings for the function. Adding them, caused it to work. I still find it a tad puzzleing that it only griped about the lack of docstrings for non root url-object calls. Is there a good reason for lack of doc strings on absolute_url, or is this something that should be added? sRp Thus spake Scott Parish (sRp@portico.org):
If i go to:
http://mymachine.com:8080/absolute_url
i get that which i would expect; it returns the absolute url of that object.
Why is it that when i go to:
http://mymachine.com:8080/any/other/object/absolute_url
I get a zope error? Does acquisition not work?
sRp
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (1)
-
Scott Parish