# Ticket #10568 (closed defect: fixed)

Opened 7 months ago

## Can't edit test case templates

Reported by: Assigned to: anonymous seccanj normal TestManagerForTracPlugin normal 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.

## Change History

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

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

Patch for this problem

### (in reply to: ↑ 1 ) 11/08/12 14:28:13 changed by anonymous

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