← Back to team overview

stk-unit-team team mailing list archive

[Bug 1155224] Re: Generic error when there are no obsolete result to delete

 

** Changed in: stk-unit
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of STK-Unit
Team, which is subscribed to STK-Unit.
https://bugs.launchpad.net/bugs/1155224

Title:
  Generic error when there are no obsolete result to delete

Status in STK/Unit:
  Fix Released

Bug description:
  When calling results_clean_all() or results_clean_tr() but there are no obsolete results (or specified TR doesnt exist), an error is generated:
  1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'NULL' at line 1

  If there are no obsolete results, no error should be generated. If specified TR doesn't exist, on of the following errors should raise:
  * [STK/Unit.results_clean_tr] - Cannot find specified Test Case
  * [STK/Unit.results_clean_tr] - Cannot find specified Test Suite

To manage notifications about this bug go to:
https://bugs.launchpad.net/stk-unit/+bug/1155224/+subscriptions