[Zope3-dev] problem with zope.testbrowser

Adam Groszer agroszer at gmail.com
Tue Jul 10 11:55:22 EDT 2007


Hello,

Have a resourceDirectory here, that contains a bunch of files for the
app's help. The app determines which html to open including an anchor
and does a HTML redirect.
(http://localhost:8080/ap_test/@@/dkr-help/index.html#Documents)
That works fine using a browser, but fails with the testbrowser:

  File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 68, in publishTraverse
    return self.get(name)
  File "U:\zope\svn_zope33\src\zope\app\publisher\browser\directoryresource.py", line 88, in get
    raise NotFound(None, name)
NotFound: Object: None, name: u'index.html#Documents'

Apparently the anchor is to blame.
Anybody noticed that already?

-- 
Best regards,
 Adam                          mailto:agroszer at gmail.com



More information about the Zope3-dev mailing list