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

Required Custom Fields prevent Diode usage #183

Open
sol1-matt opened this issue Oct 14, 2024 · 1 comment
Open

Required Custom Fields prevent Diode usage #183

sol1-matt opened this issue Oct 14, 2024 · 1 comment
Labels
status: needs triage This issue is awaiting triage by a maintainer

Comments

@sol1-matt
Copy link

  • Custom fields are currently unsupported in Diode
  • Required Custom Fields in Netbox prevent the saving of objects when not included

These 2 things combined mean that Diode won't work on any Netbox installation where the Diode import touches objects which have required custom fields.

Test

  1. Add custom field test_required that applies to Device objects and check the box for required
  2. Attempt to import a device using Diode

The Diode Ingest Logs (/plugins/diode/ingestion-logs/) in Netbox show an error

Invalid value for custom field 'test_required': Required field cannot be empty.

Bonus info
Lack of custom field support prevents imported_via, last_imported_date, last_imported_date, etc.. style custom fields. I've found these types of fields combined with bulk imports invaluable to manage bulk data automation particularly when trouble shooting automation when it goes bad (happens from time to time).

@mfiedorowicz
Copy link
Member

mfiedorowicz commented Oct 15, 2024

Hi @sol1-matt, thanks for reporting the issue with all provided details 👍 It's being reviewed and we'll keep you updated once we know more.

@mfiedorowicz mfiedorowicz added the status: needs triage This issue is awaiting triage by a maintainer label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants