-
Notifications
You must be signed in to change notification settings - Fork 2.5k
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Issues with showing child prefixes #7072
Comments
Have you tried clearing out your table preferences (under your user profile)? Are you able to recreate this on v3.0.0 alone? |
I am able to reproduce on my test instance, as well as the NetBox Beta Demo instance (https://beta-demo.netbox.dev/ipam/prefixes/1/) and click Child Prefixes. And I can't see any user preferences on my profile that should result in this (nothing related to prefix). |
@rodvand can you please share the specific steps you're taking to reproduce the bug on v3.0.0? |
have not tested that, will check settings to clear my profile then adding the column back after. |
Tried clearing the columns on my profile page, same result. Got some more details about the traceback error in the email sent from netbox. `Request Method: GET Traceback (most recent call last): Exception Type: AttributeError at /ipam/prefixes/6295/prefixes/ |
Its enough to open a prefix, then click "child prefixes" This will lead to an error with 'str' object has no attribute 'available_columns' |
Can confirm the same issue. Was upgrading from 2.11.11 to 3.0.0, cleared user preferences after upgrading. Same error, same log entry. Can provide a copy of my logs if needed. |
Table configuration for the child prefixes view just recently added in #6872 (in v2.11.12), but it seems to have broken in v3.0. |
Looks like something got lost in the merge when we switched from a context variable to a template tag for the table configuration form. |
Seeing exactly the same issue. Glad someone's already reported it! |
I see that this has been closed. How do I apply the fix ? experiencing the same thing when showing child prefixes The complete exception is provided below: Python version: 3.8.10 |
@casmith32 it will be available in the v3.0.1 release, expected later today. Alternatively, you can clone the |
Great - we'll sit tight. not a show stopper rightnow |
NetBox version
v3.0
Python version
3.8
Steps to Reproduce
In version 2.x I had added some more column to be visible on the prefixes. I believe it was "Tags"
after upgrading to version 3.0 I get the following error when clicking "child prefixes" on a prefix.
The complete exception is provided below:
<class 'AttributeError'>
'str' object has no attribute 'available_columns'
Python version: 3.8.6
NetBox version: 3.0.0
Expected Behavior
Page showing child prefixes
Observed Behavior
The complete exception is provided below:
<class 'AttributeError'>
'str' object has no attribute 'available_columns'
Python version: 3.8.6
NetBox version: 3.0.0
The text was updated successfully, but these errors were encountered: