Ticket #8004 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Cannot search if an admin

Reported by: david.byard@gmail.com Assigned to: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: critical Keywords: crash admin search
Cc: Trac Release: 0.11

Description

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

Screen shot 2010-11-08 at 14.14.18.png (40.5 kB) - added by anonymous on 11/09/10 10:59:01.
error.png (40.5 kB) - added by david.byard@gmail.com on 11/09/10 12:00:46.
The error message (re-uploaded)
api.py (6.0 kB) - added by seccanj on 11/09/10 16:40:15.
Fixed code

Change History

11/09/10 10:59:01 changed by anonymous

  • attachment Screen shot 2010-11-08 at 14.14.18.png added.

11/09/10 11:57:48 changed by seccanj

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.

11/09/10 12:00:46 changed by david.byard@gmail.com

  • attachment error.png added.

The error message (re-uploaded)

11/09/10 12:02:40 changed by david.byard@gmail.com

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

11/09/10 13:07:11 changed by seccanj

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

11/09/10 16:40:15 changed by seccanj

  • attachment api.py added.

Fixed code

11/09/10 16:40:29 changed by seccanj

  • status changed from new to 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

11/09/10 16:43:39 changed by seccanj

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

http://trac-hacks.org/attachment/ticket/8004/api.py?format=raw

11/09/10 23:03:41 changed by seccanj

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with 1.3.6.


Add/Change #8004 (Cannot search if an admin)




Change Properties
Action