-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
JSON import of circuit with terminations fails without error #12402
Comments
If I set `"terminations": []" or omit the 'terminations' member entirely, then import succeeds. So this does appear to be something to do with processing the terminations. |
I was able to find a structure which works:
Although the import confirmation screen shows no side A or side Z: ... in fact the circuit and termination were created correctly (so this is mainly a cosmetic issue - raised as #12409). The main issue still stands though: if I change the import so the termination is invalid, for example by changing the "site" to a non-existent name, there is no error feedback. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
@candlerb This looks like it has been fixed, I tried with NetBox v3.7 and it correctly throws an error popup both about the format and the site not existing. Closing now as it looks fixed, but please let me know if you still have an issue. |
NetBox version
v3.4.10
Python version
3.8
Steps to Reproduce
Expected Behavior
Either the import to complete successfully, or an error message to be displayed.
Observed Behavior
Netbox returns to the import page, without showing any error, and without completing the import.
Aside 1: if I give a provider name or circuit type that doesn't exist, this is correctly reported as an error.
Aside 2: I can find no documented example of the correct format for this, so I'm just going by guesswork - but if my guess is wrong, I think Netbox should at least say what's wrong.
Related issues: #11469, #11204, #815.
The text was updated successfully, but these errors were encountered: