openwisp-network-topology icon indicating copy to clipboard operation
openwisp-network-topology copied to clipboard

[change] Return feedback if URL used for parsing is not working

Open nemesifier opened this issue 1 year ago • 2 comments

In the demo system of OpenWISP, some users try to create a network topology object and insert a random URL. This raises exceptions which are logged on the server side but not presented to the user.

We should find a way to present this information to the user, notify them, avoid logging the error on the server side. We should also make sure that we do not bombard the user with many notifications if the error keeps on repeating. I think we should probably modify the model to add some state which indicates whether the parsing is working fine or not.

nemesifier avatar Jan 29 '24 19:01 nemesifier

@pandafy could we use a notification of type error here?

nemesifier avatar May 02 '24 14:05 nemesifier

@nemesifier this would require us to implement https://github.com/openwisp/openwisp-notifications/issues/254 first

pandafy avatar May 03 '24 11:05 pandafy