openwisp / openwisp-firmware-upgrader

Firmware upgrade solution for OpenWRT with possibility to add support for other embedded OSes. Provides features like automatic retry for network failures, mass upgrades, REST API and more.
http://openwisp.org
Other
50 stars 58 forks source link

[fix] Avoid logging error for Device without DeviceConnection #249 #252

Closed pandafy closed 2 months ago

pandafy commented 2 months ago

Don't log error on device change page if the device does not have any DeviceConnection objects.

Closes #249

pandafy commented 2 months ago

@nemesifier I didn't work on proactively guiding the user to add a credential first before performing an upgrade in this PR.

pandafy commented 2 months ago

Right now, the error message for adding a credential to the device would only appear when the user submits the form.