Modify

Opened 4 years ago

Closed 4 years ago

Last modified 17 months ago

#8004 closed defect (fixed)

Cannot search if an admin

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

Description (last modified by rjollos)

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 4 years ago.
error.png (40.5 KB) - added by david.byard@… 4 years ago.
The error message (re-uploaded)
api.py (6.0 KB) - added by seccanj 4 years ago.
Fixed code

Download all attachments as: .zip

Change History (10)

Changed 4 years ago by anonymous

comment:1 Changed 4 years ago 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.

Changed 4 years ago by david.byard@…

The error message (re-uploaded)

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

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

comment:3 Changed 4 years ago 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 :-))

Changed 4 years ago by seccanj

Fixed code

comment:4 Changed 4 years ago 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

comment:5 Changed 4 years ago by seccanj

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

Last edited 17 months ago by rjollos (previous) (diff)

comment:6 Changed 4 years ago by seccanj

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with 1.3.6.

comment:7 Changed 17 months ago by rjollos

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.