Skip to content

Commit

Permalink
Remove delete test_results that violates result_testresult_fk on resu…
Browse files Browse the repository at this point in the history
…lt table.
  • Loading branch information
rossumg committed Jun 8, 2018
1 parent 68eaaef commit 9220139
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,6 @@ protected ActionForward performAction(ActionMapping mapping, ActionForm form, Ht
}
panelItemDAO.deleteData(panelItems);

List<TestResult> testResultItems = testResultDAO.getActiveTestResultsByTest(testAddParams.testId);
for( TestResult item : testResultItems){
item.setSysUserId(currentUserId);
}
testResultDAO.deleteData(testResultItems);

List<ResultLimit> resultLimitItems = resultLimitDAO.getAllResultLimitsForTest(testAddParams.testId);
for( ResultLimit item : resultLimitItems){
item.setSysUserId(currentUserId);
Expand Down

0 comments on commit 9220139

Please sign in to comment.