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

AttributeError when adding VM Component interfaces #1043

Closed
itdependsnetworks opened this issue Oct 30, 2021 · 2 comments · Fixed by #1138
Closed

AttributeError when adding VM Component interfaces #1043

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

Comments

@itdependsnetworks
Copy link
Contributor

Environment

  • Python version: 3.6.3
  • Nautobot version: v1.1.4

Steps to Reproduce

  1. Navigate to Virtualization -> Virtual Machines/
  2. Click checkbox of device
  3. Expand the "Add Components" button
  4. Click "Interfaces"

image

image

Expected Behavior

Ability to be able to bulk update interfaces to vm's

Observed Behavior

Stacktrace

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

Well this one is quite the metaprogramming pickle. Thanks for the report @itdependsnetworks!

Detailed meta traceback shows something funky getting passed into the the form:

Cursor_and_AttributeError__type_object__VMInterface__has_no_attribute__get__-networktocode-llc-_nautobot

@glennmatthews glennmatthews changed the title VM Component interfaces AttributeError when adding VM Component interfaces Dec 3, 2021
@romanukes
Copy link
Contributor

I'd like to work on this one

romanukes added a commit to romanukes/nautobot that referenced this issue Dec 8, 2021
glennmatthews pushed a commit that referenced this issue Dec 9, 2021
* Fix #1043: Add CustomFieldBulkCreateForm class to VirtualMachineBulkAddComponentForm

* Black formatted

* Add CustomField to VMInterfaceTestCase unit tests
glennmatthews added a commit that referenced this issue Dec 9, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 10, 2022
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.

4 participants