Open bile0026 opened 7 months ago
Unable to create Software objects via the ORM without a documentation URL. This function works in the UI.
Nautobot: 1.6.2 DLM Plugin: 1.3.2
https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt/blob/a41d76018a060d197d2207a0c30b850b73a72f35/nautobot_device_lifecycle_mgmt/models.py#L164C1-L165C1
I believe this should be:
documentation_url = models.URLField(null=True, blank=True, verbose_name="Documentation URL")
Generally speaking text fields shouldn't be null=True. Probably the fix here would be to set default="" instead?
null=True
default=""
Unable to create Software objects via the ORM without a documentation URL. This function works in the UI.
Nautobot: 1.6.2 DLM Plugin: 1.3.2
https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt/blob/a41d76018a060d197d2207a0c30b850b73a72f35/nautobot_device_lifecycle_mgmt/models.py#L164C1-L165C1
I believe this should be: