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

Within edit view of virtual chassis, button indicates create instead of update #398

Closed
itdependsnetworks opened this issue May 2, 2021 · 2 comments · Fixed by #406
Closed
Assignees
Labels
type: bug Something isn't working as expected

Comments

@itdependsnetworks
Copy link
Contributor

Environment

  • Python version: 3.7
  • Nautobot version: 1.0

When going to update a chassis, the button indicates create, instead of udpate

Steps to Reproduce

  1. Create a virtual chassis
  2. Edit the virtual chassis
  3. View the button on the bottom

Expected Behavior

When editing a device chassis, the button should indicate "update".

Observed Behavior

When editing a device chassis, the button says "create" instead of update.
image

@smk4664
Copy link
Contributor

smk4664 commented May 3, 2021

This is due to VIrtualChassisEditView no longer inheriting from ObjectEditView. a4019be#diff-2d8f796155b3fffa107a5417c20e7699d37c9b49ab50d7001c0c4eab2663dc0eL2106

ObjectEditView adds "editing": obj.present_in_database to the render.

@glennmatthews glennmatthews added the type: bug Something isn't working as expected label May 3, 2021
@smk4664
Copy link
Contributor

smk4664 commented May 4, 2021

I can take this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants