Skip to content

Jobs table is empty on Reports #14199

@sleepinggenius2

Description

@sleepinggenius2

NetBox version

v3.6.4

Python version

3.8

Steps to Reproduce

  1. Navigate to /extras/reports/
  2. Click on the name of a report
  3. Click on the "Jobs" tab

Expected Behavior

The number of rows in the table should match the number in the badge.

Observed Behavior

The table shows no rows, despite there being a number in the badge.

It looks like ReportJobsView has this line:

name=report.name

While ScriptJobsView has this line:

name=script.class_name

Changing ReportJobsView to have report.class_name instead of report.name seems to resolve this issue. Therefore, I suspect this might only be present on reports with a custom name set, but I am unable to test this at this time.

Metadata

Metadata

Assignees

Labels

severity: 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

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions