404 error when clicking "create and add another" when assigning a contact #5621

Closed
opened 2025-12-29 19:30:13 +01:00 by adam · 2 comments
Owner

Originally created by @jeremystretch on GitHub (Nov 5, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.1-beta1

Python version

3.7

Steps to Reproduce

  1. View a site
  2. Click the "add contact" button
  3. Select a contact and role
  4. Click "create and add another"

Expected Behavior

The contact assignment is created and a new form is displayed.

Observed Behavior

The contact assignment is created, however the user is redirected to a 404 error, complaining that /tenancy/contact-assignments/add/ cannot be found. This is because the redirect does not include the required object type and ID as URL parameters.

Originally created by @jeremystretch on GitHub (Nov 5, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.1-beta1 ### Python version 3.7 ### Steps to Reproduce 1. View a site 2. Click the "add contact" button 3. Select a contact and role 4. Click "create and add another" ### Expected Behavior The contact assignment is created and a new form is displayed. ### Observed Behavior The contact assignment is created, however the user is redirected to a 404 error, complaining that `/tenancy/contact-assignments/add/` cannot be found. This is because the redirect does not include the required object type and ID as URL parameters.
adam added the type: bugbeta labels 2025-12-29 19:30:13 +01:00
adam closed this issue 2025-12-29 19:30:13 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 5, 2021):

Similar to #7741

@jeremystretch commented on GitHub (Nov 5, 2021): Similar to #7741
Author
Owner

@jeremystretch commented on GitHub (Nov 9, 2021):

This also affects FHRP group assignment.

@jeremystretch commented on GitHub (Nov 9, 2021): This also affects FHRP group assignment.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5621