"Create & Add Another" is not working for rack photos #6945

Closed
opened 2025-12-29 19:47:04 +01:00 by adam · 1 comment
Owner

Originally created by @Petrapana on GitHub (Sep 7, 2022).

Originally assigned to: @arthanson on GitHub.

NetBox version

v3.3.2

Python version

3.8

Steps to Reproduce

  1. Open your RACK
  2. Click on "Attach an image"
  3. Select an image you want to add, put some name
  4. Click on "Create & Add Another is not working"
  5. Netbox will add the image correctly, but forward URL is not correct and you are forwarded to "https://server/extras/image-attachments/add/" instead of "https://server/extras/image-attachments/add/?content_type=31&object_id="

Expected Behavior

You are forwarded to the same URL as used while clicking to "Attach an image" from the "rack page"

Observed Behavior

"Page Not Found" is shown

Originally created by @Petrapana on GitHub (Sep 7, 2022). Originally assigned to: @arthanson on GitHub. ### NetBox version v3.3.2 ### Python version 3.8 ### Steps to Reproduce 1. Open your RACK 2. Click on "Attach an image" 3. Select an image you want to add, put some name 4. Click on "Create & Add Another is not working" 5. Netbox will add the image correctly, but forward URL is not correct and you are forwarded to "https://server/extras/image-attachments/add/" instead of "https://server/extras/image-attachments/add/?content_type=31&object_id=<dependsOnYourRackID>" ### Expected Behavior You are forwarded to the same URL as used while clicking to "Attach an image" from the "rack page" ### Observed Behavior "Page Not Found" is shown
adam added the type: bugstatus: accepted labels 2025-12-29 19:47:04 +01:00
adam closed this issue 2025-12-29 19:47:04 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 7, 2022):

Could be a regression of #7741

@jeremystretch commented on GitHub (Sep 7, 2022): Could be a regression of #7741
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6945