Ticket #10217 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Deleting a Test Case, deleting Test Catalogs containing Test items

Reported by: michael.kroell@gmail.com Assigned to: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Attached a patch for model.py to allow the deletion of test cases (at least Pg does complain about a missing type cast otherwise)

Also attached a debug trace of the error caused by trying to delete a Test Catalog which contains other Test Catalogs - Could it be that the top-level Test Catalog Wiki-Page is deleted too early?

Attachments

model.py-r41-recdel_testcase_db_type_fix.patch (0.6 kB) - added by michael.kroell@gmail.com on 08/02/12 11:56:46.
test_manager_delete_test_catalog_with_subcatalog_debug.trace.bz2 (2.4 kB) - added by michael.kroell@gmail.com on 08/02/12 11:57:12.
test_manager_delete_test_catalog_with_subcatalog_components.bz2 (1.7 kB) - added by michael.kroell@gmail.com on 08/02/12 11:57:34.

Change History

08/02/12 11:56:46 changed by michael.kroell@gmail.com

  • attachment model.py-r41-recdel_testcase_db_type_fix.patch added.

08/02/12 11:57:12 changed by michael.kroell@gmail.com

  • attachment test_manager_delete_test_catalog_with_subcatalog_debug.trace.bz2 added.

08/02/12 11:57:34 changed by michael.kroell@gmail.com

  • attachment test_manager_delete_test_catalog_with_subcatalog_components.bz2 added.

08/03/12 08:37:19 changed by seccanj

  • status changed from new to assigned.

Ciao Michael, thanks for your patch!

Actually this problem was already found and the same fix (more complete, though) was attached to this ticket #10131.

I realize now that unfortunately the ticket summary was not clear enough, and that I should have provided a fixed release.

I'll do it asap and then close this ticket.

Thanks for your help, ciao. Roberto

08/03/12 08:42:13 changed by michael,kroell@gmail.com

Grazie mille!

08/09/12 22:36:40 changed by seccanj

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

Fixed with 1.5.1.


Add/Change #10217 (Deleting a Test Case, deleting Test Catalogs containing Test items)




Change Properties
Action