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

Image attachments show up under wrong related objects #15636

Closed
julianstolp opened this issue Apr 5, 2024 · 2 comments
Closed

Image attachments show up under wrong related objects #15636

julianstolp opened this issue Apr 5, 2024 · 2 comments
Assignees
Labels
beta Concerns a bug/feature in a beta release severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@julianstolp
Copy link

julianstolp commented Apr 5, 2024

Deployment Type

Self-hosted

NetBox Version

v4.0-beta1

Python Version

3.10

Steps to Reproduce

  1. Create site 1 /dcim/site/1
  2. create site 2 /dcim/site/2
  3. Create rack 1 /dcim/rack/1 and add it to site2
  4. Add image to rack 1
  5. Go to site 1 look at Images
  6. Image from rack 1 is visible at site 1

Also happens to every other object type if Images is present

Expected Behavior

Images are displayed only if they are related in any way but not the primary key.

Observed Behavior

error

@julianstolp julianstolp added status: needs triage This issue is awaiting triage by a maintainer type: bug A confirmed report of unexpected behavior in the application labels Apr 5, 2024
@jeffgdotorg
Copy link
Contributor

Thanks for the bug report. Confirmed I can reproduce on a pristine v4.0b1 install.

@jeffgdotorg jeffgdotorg added severity: high Completely breaks certain functions, or substantially degrades performance application-wide and removed status: needs triage This issue is awaiting triage by a maintainer labels Apr 8, 2024
@jeffgdotorg jeffgdotorg changed the title Image Attachment broken, lists related objects with same pk Image attachments show up under wrong related objects Apr 8, 2024
@jeremystretch jeremystretch added severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation and removed severity: high Completely breaks certain functions, or substantially degrades performance application-wide labels Apr 8, 2024
@jeremystretch
Copy link
Member

Image from rack 1 is visible at site 1

Only images attached to site 1 will be listed when viewing the site. You need to view the specific rack to see images attached to it.

@jeremystretch jeremystretch added status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation and removed status: accepted This issue has been accepted for implementation labels Apr 8, 2024
@arthanson arthanson added the beta Concerns a bug/feature in a beta release label Apr 16, 2024
@arthanson arthanson self-assigned this Apr 16, 2024
@arthanson arthanson removed the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Apr 16, 2024
@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Apr 17, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release severity: medium Results in substantial degraded or broken functionality for specfic workflows status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

4 participants