Modify

#10568 closed defect (fixed)

Can't edit test case templates

Reported by: anonymous Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Trying to edit a test case template, even one that is not assigned to any test case results in the error message "UnboundLocalError: local variable 't_id' referenced before assignment.
Error message after template edit

Attachments (2)

TemplateEdit.jpg (747.3 KB) - added by marcel.tschanen@… 21 months ago.
Error message after template edit
10568.patch (2.4 KB) - added by seccanj 21 months ago.
Patch for this problem

Download all attachments as: .zip

Change History (5)

Changed 21 months ago by marcel.tschanen@…

Error message after template edit

comment:1 follow-up: Changed 21 months ago by seccanj

  • Status changed from new to assigned

Found the problem and fixed.

Please find the patch in attachment, to be applied on top of 1.5.2.

Apply it to the source code by copying the patch file to the testman4trac.1.5.2/testman4trac/trunk/testmanager directory and running this command:

patch -i 10568.patch

Let me know if it fixes the problem.

Ciao,
Roberto

Changed 21 months ago by seccanj

Patch for this problem

comment:2 in reply to: ↑ 1 Changed 21 months ago by anonymous

Replying to seccanj:

Hi Roberto
We have applied your patch and it helped. We can now edit test case templates.

Thanks a lot,
Marcel

Found the problem and fixed.

Please find the patch in attachment, to be applied on top of 1.5.2.

Apply it to the source code by copying the patch file to the testman4trac.1.5.2/testman4trac/trunk/testmanager directory and running this command:

patch -i 10568.patch

Let me know if it fixes the problem.

Ciao,
Roberto

comment:3 Changed 15 months ago by seccanj

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

Fixed in 1.6.1.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from seccanj. Next status will be 'closed'.
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.