Opened 13 years ago

Closed 13 years ago

Last modified 11 years ago

#8004 closed defect (fixed)

Cannot search if an admin — at Version 7

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.

Change History (10)

Changed 13 years ago by anonymous

comment:1 Changed 13 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 13 years ago by david.byard@…

Attachment: error.png added

The error message (re-uploaded)

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

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

comment:3 Changed 13 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 13 years ago by Roberto Longobardi

Attachment: api.py added

Fixed code

comment:4 Changed 13 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 13 years ago by Roberto Longobardi

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

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

comment:6 Changed 13 years ago by Roberto Longobardi

Resolution: fixed
Status: assignedclosed

Fixed with 1.3.6.

comment:7 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.