Models from plugin not showing up for custom field selection #17836
Replies: 6 comments 1 reply
-
Just dropping in to say check your permission roles if you have that setup, may need to allow scopes added by the plugin. |
Beta Was this translation helpful? Give feedback.
-
thanks for the tip. does this also apply to superusers? i haven't set any explicit permissions, just using it as superuser |
Beta Was this translation helpful? Give feedback.
-
It should not apply if you're a superuser I imagine, so most likely a bug then :). Good luck! |
Beta Was this translation helpful? Give feedback.
-
@mraerino can you please open this as a discussion and close this ticket? You will probably get more response as a discussion. |
Beta Was this translation helpful? Give feedback.
-
@mraerino I had exactly the same issue with a custom-developed plugin. So, I searched for the error in the source code of our plugin. Netbox: 4.1.3 |
Beta Was this translation helpful? Give feedback.
-
This is a reminder that additional information is needed in order to further triage this issue. If the requested details are not provided, the issue will soon be closed automatically. |
Beta Was this translation helpful? Give feedback.
-
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
v4.0.11
Python Version
3.11
Steps to Reproduce
First up, i want to say that i'm sadly not able to reproduce this on a fresh installation of Netbox. I'm looking for debugging advice since I'm not able to diagnose why this is happening on our production instance.
/extras/custom-fields/add/
Expected Behavior
I expect the models from the BGP plugin to show up in the dropdown for the object types selection. They do on a fresh install.
Observed Behavior
The models from the BGP plugin are missing while I see other models and also models from other plugins. I have opened an issue with them, but i'm not sure anything is wrong with the plugin.
What I'm looking for is advice for how to debug this situation so that it becomes reproducible. Or could this be a configuration problem?
What I've done so far:
I've used the
nbshell
to dig into the data the object types widget uses.Here's a screenshot showing that the BGP models are missing at the place where they should be:
Beta Was this translation helpful? Give feedback.
All reactions