Opened 10 years ago

Closed 9 months ago

#1879 closed defect (wontfix)

[PATCH] Project index does not deal well with non-projects in it's parent dir

Reported by: mpalmer@… Owned by:
Priority: normal Component: TracForgePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


Pretty trivial to reproduce:

touch ../foo

Then load up the project index in your master environment, and get an "env used before assignment" Trac bomb.

I've got a patch that fixes this, although it probably isn't a Python-optimal way of doing it.

Personally, I think the project list should be taken from the master project's tracforge_projects table, as that is a far more reliable indication of relationships than "happens to be in the same directory as the master". There'll be a separate ticket/patch for that once I get it going.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:2 Changed 9 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Plugin is deprecated.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.