Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#8004 closed defect (fixed)

Cannot search if an admin

Reported by: david.byard@… Owned by: Roberto Longobardi
Priority: normal Component: TestManagerForTracPlugin
Severity: critical Keywords: crash admin search
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Installed the TestManager plugins globally (installed using easy_install, followed by trac-admin /path/to/trac update), and enabled in trac.ini as so:

 tracgenericclass.* = enabled
 tracgenericworkflow.* = enabled
 testmanager.* = enabled

If a non-admin makes any search with these lines uncommented (i.e., plugin is enabled), they get the attached error.

This has been worked around by making all our users admins, but this is not ideal.

Attachments (3)

Screen shot 2010-11-08 at 14.14.18.png (40.5 KB) - added by anonymous 6 years ago.
error.png (40.5 KB) - added by david.byard@… 6 years ago.
The error message (re-uploaded)
api.py (6.0 KB) - added by Roberto Longobardi 6 years ago.
Fixed code

Download all attachments as: .zip

Change History (10)

Changed 6 years ago by anonymous

comment:1 Changed 6 years ago by Roberto Longobardi

Hi david, could you please retry to attach the screenshot, as it appears to be corrupted.

Please try to use a short name without blanks... I think the problem may be with the old Trac version that the trac-hacks site uses, whic is 0.10.

In the meantime I'm trying to reproduce the problem.

Changed 6 years ago by david.byard@…

Attachment: error.png added

The error message (re-uploaded)

comment:2 Changed 6 years ago by david.byard@…

Re-attached the error. Thanks much for the swift response :)

comment:3 Changed 6 years ago by Roberto Longobardi

:) I live in a control room with all of my trac-hacks tickets flashing on a giant wall, I was out at the moment but I have track-hacks page me on each ticket ;-) (kidding of course... I was just casually checking my mail :-))

Changed 6 years ago by Roberto Longobardi

Attachment: api.py added

Fixed code

comment:4 Changed 6 years ago by Roberto Longobardi

Status: newassigned

I have fixed the problem, please find in attachment the file api.py containing the fix to be replaced into:

tracgenericclass/trunk/tracgenericclass

Please, let me know if this works.

Ciao, Roberto

comment:5 Changed 6 years ago by Roberto Longobardi

To download the file in original text format, use the following link: api.py

Last edited 4 years ago by Ryan J Ollos (previous) (diff)

comment:6 Changed 6 years ago by Roberto Longobardi

Resolution: fixed
Status: assignedclosed

Fixed with 1.3.6.

comment:7 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
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.