project names from drop down list (job view) remain and fill up the list.
Steps to Reproduce
enter jobs with different project names.
wait until the history cleans them up.
Expected Results
project name filter should only show project names of jobs currently listed.
Actual Results
project name filter list still lists the project names for jobs not listed any longer.
Additonal Comments
SP_DeleteOldJobs procedure might be the faulty one as one of the last query is faulty
and should rather look like that (approx line 100):
DELETE FROM JobProjectName WHERE Id NOT IN (SELECT isnull(ProjectId, 1) FROM Job group by ProjectId UNION ALL SELECT isnull(ProjectId, 1) FROM JobHistory group by ProjectId);
Problem Description
project names from drop down list (job view) remain and fill up the list.
Steps to Reproduce
enter jobs with different project names. wait until the history cleans them up.
Expected Results
project name filter should only show project names of jobs currently listed.
Actual Results
project name filter list still lists the project names for jobs not listed any longer.
Additonal Comments
SP_DeleteOldJobs procedure might be the faulty one as one of the last query is faulty and should rather look like that (approx line 100): DELETE FROM JobProjectName WHERE Id NOT IN (SELECT isnull(ProjectId, 1) FROM Job group by ProjectId UNION ALL SELECT isnull(ProjectId, 1) FROM JobHistory group by ProjectId);