Modify

Opened 2 years ago

Closed 2 years ago

#10217 closed defect (fixed)

Deleting a Test Case, deleting Test Catalogs containing Test items

Reported by: michael.kroell@… Owned by: 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 (3)

model.py-r41-recdel_testcase_db_type_fix.patch (641 bytes) - added by michael.kroell@… 2 years ago.
test_manager_delete_test_catalog_with_subcatalog_debug.trace.bz2 (2.4 KB) - added by michael.kroell@… 2 years ago.
test_manager_delete_test_catalog_with_subcatalog_components.bz2 (1.7 KB) - added by michael.kroell@… 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by michael.kroell@…

comment:1 Changed 2 years ago 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

comment:2 Changed 2 years ago by michael,kroell@…

Grazie mille!

comment:3 Changed 2 years ago by seccanj

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with 1.5.1.

Add Comment

Modify Ticket

Action
as closed The owner will remain seccanj.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.