Skip to content

Commit

Permalink
Merge pull request #762 from rossumg/develop
Browse files Browse the repository at this point in the history
Remove delete test_results that violates result_testresult_fk on resu…
  • Loading branch information
caseyi authored Jun 8, 2018
2 parents 424c865 + 9220139 commit 856b613
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 856b613

Please sign in to comment.