Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes: #17566 - Fix issue Job.get_absolute_url() to prevent exception being thrown if no object_type is set #17661

Merged
merged 3 commits into from
Oct 7, 2024

Conversation

DanSheps
Copy link
Member

@DanSheps DanSheps commented Oct 2, 2024

Fixes: #17566 - Fix issue Job.get_absolute_url() to prevent exception being thrown if no object_type is set

  • Add wrapper statement to check for self.object_type

…on being thrown if no object_type is set
@DanSheps DanSheps self-assigned this Oct 2, 2024
@jeremystretch jeremystretch merged commit 4b6e8a9 into develop Oct 7, 2024
6 checks passed
@jeremystretch jeremystretch deleted the 17566-fix-get_absolute_url branch October 7, 2024 12:35
bctiemann pushed a commit that referenced this pull request Oct 11, 2024
…on being thrown if no object_type is set (#17661)

* Fixes: #17566 - Fix issue `Job.get_absolute_url()` to prevent exception being thrown if no object_type is set

* Add back whitespace after statements

* Remove whitespace.  Change to if statement
jeremystretch pushed a commit to alehaa/netbox that referenced this pull request Oct 11, 2024
… prevent exception being thrown if no object_type is set (netbox-community#17661)

* Fixes: netbox-community#17566 - Fix issue `Job.get_absolute_url()` to prevent exception being thrown if no object_type is set

* Add back whitespace after statements

* Remove whitespace.  Change to if statement
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jobs page not loading
2 participants