Opened 7 years ago

Last modified 7 years ago

#8582 new defect

May not work on an access-restricted site

Reported by: von_mises@… Owned by: Takanori Suzuki
Priority: normal Component: WorkflowEditorPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


With workfloweiditorplugin 1.0.2 comes with !TracLightning2.5.2, use

<LocationMatch "/trac/portal">
  AuthType SSPI
  Require valid-user

in httpd.conf to ristrict access, the following messages are shown in the workflow section in the Admin page.

Tracebck (most recent call last):
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\web\", line 376, in send_error
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\web\", line 739, in render_template
    data = self.populate_data(req, data)
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\web\", line 639, in populate_data
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\web\", line 195, in __getattr__
    value = self.callbacks[name](self)
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\web\", line 494, in prpare_request
    for category, name, text in contributor.get_navigation_items(req):
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\admin\", line 65, in get_navigation_items
    panels, providres = self._get_panels(req)
  File "e:\traclight\python\lib\site-packages\Trac-0.11.7.ja1-py2.5.egg\trac\admin\", line 161, in _get_panels
    p = list(provider.get_adminpanels(req))
  File "build\bdist.win32\egg\workfloweditor\", line 32, in get_admin_panels
    locale = LocaleUtil().get_locale(req)
  File "build\bdist.win32\egg\workfloweditor\", line 16, in get_locale
    if (len(locale_array) > 0):
TypeError: object of type 'NoneType' has no len()

How can I workaround this?

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by Ryan J Ollos

Summary: workfloweditorplugin may not work on an access-ristricted site.May not work on an access-restricted site

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Takanori Suzuki.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.