When trying to edit connection of unknown type show an error and return to connections list instead of trying to filling in some fields and doing badly.