#963: DirectoryLister has no getAuthz
--------------------+-------------------------------------------------------
Reporter: bcmpinc | Owner:
Type: defect | Status: new
Priority: major | Milestone: 0.8.2
Version: 0.8.1 | Keywords:
--------------------+-------------------------------------------------------
The DirectoryLister in web/base.py is missing the getAuthz method. This
method is required by ContextMixin's getContext. The result is that
directory listing does not work.
'''How to reproduce'''
- Create a directory in the public_html directory of your buildbot.
- Navigate to that directory using a browser.
- This gives an exception page.
'''Solution'''
The getAuthz method is defined in HtmlResource, which is a subclass of
ContextMixin. Moving the method to ContextMixin solves the problem. It is
probably a good idea to also move the getBuildmaster method.
--
Ticket URL: <http://buildbot.net/trac/ticket/963>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits