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

Viewing the changelog of an updated image throws a missing template exception #13463

Closed
gurretp opened this issue Aug 14, 2023 · 1 comment · Fixed by #13464
Closed

Viewing the changelog of an updated image throws a missing template exception #13463

gurretp opened this issue Aug 14, 2023 · 1 comment · Fixed by #13464
Assignees
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@gurretp
Copy link

gurretp commented Aug 14, 2023

NetBox version

v3.5.6

Python version

3.8

Steps to Reproduce

  1. add a rack
  2. upload an image for this rack
  3. edit the image and change for a new one
  4. save
  5. click on the changelog of this particular image

Expected Behavior

being able to view the previous image

Observed Behavior

<class 'django.template.exceptions.TemplateDoesNotExist'>

extras/imageattachment.html

Python version: 3.8.16
NetBox version: 3.5.6

@gurretp gurretp added the type: bug A confirmed report of unexpected behavior in the application label Aug 14, 2023
@abhi1693 abhi1693 added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Aug 14, 2023
@abhi1693
Copy link
Member

This fails even when the image is uploaded for the 1st time. This is because the changelog expects an object view but the image attachments does not have any

@abhi1693 abhi1693 self-assigned this Aug 14, 2023
@abhi1693 abhi1693 added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Aug 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants