Modify

Opened 4 years ago

Closed 4 years ago

#10568 closed defect (fixed)

Can't edit test case templates

Reported by: anonymous Owned by: Roberto Longobardi
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@… 4 years ago.
Error message after template edit
10568.patch (2.4 KB) - added by Roberto Longobardi 4 years ago.
Patch for this problem

Download all attachments as: .zip

Change History (5)

Changed 4 years ago by marcel.tschanen@…

Attachment: TemplateEdit.jpg added

Error message after template edit

comment:1 Changed 4 years ago by Roberto Longobardi

Status: newassigned

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 4 years ago by Roberto Longobardi

Attachment: 10568.patch added

Patch for this problem

comment:2 in reply to:  1 Changed 4 years 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 4 years ago by Roberto Longobardi

Resolution: fixed
Status: assignedclosed

Fixed in 1.6.1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Roberto Longobardi.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.