Ticket #10567 (closed defect: fixed)

Opened 7 months ago

Last modified 1 month ago

Zombie test catalogs in template management page

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

Description

On the Template Admin page a long list of non existing test catalogs without names is displayed. The only catalogs I really have are the ones that have names. How can I get rid of the zombie catalogs in this list? I'm running Test Manager 1.5.2 on Trac 1.0.1.
Screenshot

Attachments

TestCatalogList.jpg (0.8 MB) - added by marcel.tschanen@wy.by on 10/29/12 14:17:58.
Screenshot

Change History

10/29/12 14:17:58 changed by marcel.tschanen@wy.by

  • attachment TestCatalogList.jpg added.

Screenshot

(follow-up: ↓ 2 ) 11/01/12 19:51:23 changed by seccanj

  • status changed from new to assigned.

I cannot reproduce this exact situation, but I may have found the problem behind it.

Would you please install the SQLExecutor plugin (form the Test Manager package) and run this query:

select * from testmanager_templates

I expect that you will find several templates with a blank ID (first column in the results). If this is the case, I have already developed a fix. Otherwise, please could you paste the results here?

Ciao, Roberto

(in reply to: ↑ 1 ) 11/08/12 21:16:50 changed by anonymous

Hi Roberto

In the DB table that creates the link between the test catalogs and the test cases templates we've found many empty records. We manually deleted all empty records, i.e all the ones which don't match the existing test catalog id. After doing so we got an almost proper default test case template per test catalog list.
There is one remaining empty entry which we don't find in the DB. Probably some weird leftover from our upgrading and test manager clearing actions.
With new test catalogs assigning and re-assigning templates to catalogs works fine.

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

Fixed in 1.6.1.

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

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

Add/Change #10567 (Zombie test catalogs in template management page)




Change Properties
Action