core icon indicating copy to clipboard operation
core copied to clipboard

Sitesearch job of removed host causes issues

Open Xander-Steinmann opened this issue 11 years ago • 1 comments

When you remove a host that had a site search job, the "View all Jobs" screen will display an error. This error is caused by a Nullpointer in the JSP. It can be easily fixed by adding a null check, or by removing the job when the host is removed.

This can be reproduced on the demo site:

  • create a new host "testhost"
  • create a new site search job for host
  • view the "View all jobs", the job is there
  • remove the testhost
  • view the "View all jobs", it throws an error

Adding the null check will allow the display of the jobs page, although I'm not sure whether having a job of a removed host will result in other issues. h != null ? h.getHostname() : null

Xander-Steinmann avatar Jul 27 '15 13:07 Xander-Steinmann

This issue has been automatically marked as stale because it has not had activity within the past 90 days. It will be closed in 30 days no further activity occurs. Thank you.

stale[bot] avatar Sep 30 '19 05:09 stale[bot]