Skip to content

Background task job details breadcrumb links generate 404 errors #20721

@jnovinger

Description

@jnovinger

NetBox Edition

NetBox Community

NetBox Version

v4.4.5

Python Version

3.12

Steps to Reproduce

  1. Have a background job that has at least attempted to run
  2. Navigate to Admin → Background Tasks
  3. On the Background Tasks page, click on a number greater than zero in one of the status columns (e.g., click on the number of failed jobs for the default queue)
  4. On the job list page for that status, click on a job ID to view job details
  5. On the job details page, click the queue name breadcrumb link at the top (e.g., "default")

Expected Behavior

The breadcrumb link should navigate to /background-queues/0/failed/ (or the appropriate lowercase status: queued, started, finished)

Observed Behavior

The breadcrumb link navigates to /background-queues/0/JobStatus.FAILED/ (or JobStatus.STARTED, JobStatus.QUEUED), resulting in a 404 page not found error

Metadata

Metadata

Assignees

Labels

netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions