core
core copied to clipboard
Sitesearch job of removed host causes issues
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
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.