Ticket #10568 (closed defect: fixed)

Opened 7 months ago

Last modified 4 weeks ago

Can't edit test case templates

Reported by: anonymous Assigned to: 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

TemplateEdit.jpg (0.7 MB) - added by marcel.tschanen@wy.by on 10/29/12 14:26:11.
Error message after template edit
10568.patch (2.4 kB) - added by seccanj on 11/01/12 17:36:17.
Patch for this problem

Change History

10/29/12 14:26:11 changed by marcel.tschanen@wy.by

  • attachment TemplateEdit.jpg added.

Error message after template edit

(follow-up: ↓ 2 ) 11/01/12 17:35:54 changed 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

11/01/12 17:36:17 changed by seccanj

  • attachment 10568.patch added.

Patch for this problem

(in reply to: ↑ 1 ) 11/08/12 14:28:13 changed 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

04/21/13 23:15:27 changed by seccanj

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

Fixed in 1.6.1.


Add/Change #10568 (Can't edit test case templates)




Change Properties
Action