Opened 10 years ago

Closed 8 months ago

#2518 closed defect (fixed)

Hidevals's offers a htdocs directory that doesn't exist, breaking other plugins

Reported by: Paul.Hampson@… Owned by: Ryan J Ollos
Priority: high Component: HideValsPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10


Basically, get_htdocs_dirs in returns the boilerplate htdocs lookup, but doesn't package a htdocs directory, causing a traceback when things try to scan the whole htdocs tree.

This causes other plugins (in my case, CondFieldsPlugin) to not work as their htdocs file lookups just return the traceback.

Tested on 0.10.3, noticed in Firebug.

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by anonymous

Forgot to mention, the fix is to return []

comment:2 Changed 10 years ago by Collin Peters

I found this error went away when I unzipped the egg. A proper fix would be nice. This also broke the hidevals plugin for me

comment:3 Changed 3 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:4 Changed 8 months ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:5 Changed 8 months ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

In 16836:

TracHideVals 1.2: Don't return non-existent htdocs dir

Fixes #2518.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.