Opened 6 years ago

Closed 6 years ago

Cannot search if an admin

Reported by: Owned by: david.byard@… Roberto Longobardi normal TestManagerForTracPlugin critical crash admin search 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.

Changed 6 years ago by anonymous

Attachment: Screen shot 2010-11-08 at 14.14.18.png​ added

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@…

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 :-))

Fixed code

comment:4 Changed 6 years ago by Roberto Longobardi

Status: new → assigned

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 assigned → closed

Fixed with 1.3.6.

comment:7 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties