msjit / testcasedb

TestCaseDB - Web based test case management
MIT License
40 stars 18 forks source link

Unable to Export testcase which has blank Test Type #41

Closed kirantpatil closed 9 years ago

kirantpatil commented 10 years ago

Steps to reproduce:

  1. Create a testcase with no test type
  2. Try to export it by clicking on "Export Selected" button from test_cases page

Actual output: The page shows error message as below

An error has occurred. If you continue to experience issues with this page, please contact your system administrator.

Expected output: The testcase should be exportable or Display an pop message to add "Test Type" to the testcase or testcases

joffems commented 9 years ago

Commit pushed with fix. The code now tests for a test type before attempting to insert the the test type's name.

kirantpatil commented 9 years ago

@harshith30 can you please verify this ?

harshith30 commented 9 years ago

Hi, I verified it and the test case is exportable without any information on test type .

kirantpatil commented 9 years ago

How about when there is Test Type present ?

harshith30 commented 9 years ago

Hi, I tried all combinations , trying to export with and without test types . In the cases it is working fine now.

kirantpatil commented 9 years ago

great. closing this issue.