access_hubs#destroy (ActiveRecord::RecordInvalid) "Validation failed: Name can't be blank
An ActiveRecord::RecordInvalid occurred in access_hubs#destroy:
Validation failed: Name can't be blank, Access hub mode can't be blank, Access zone... can't be blank, Location can't be blank, Access hub must have at least one supported card model
app/services/access_hubs/delete_sip_account_service.rb:18:in `call'
-------------------------------
Request:
-------------------------------
* URL : https://bikelink.org/access_hubs/50
* HTTP Method: DELETE
* IP address : 83.148.38.152
* Parameters : {"_method"=>"delete", "authenticity_token"=>"RClPQ55r6cv2vpeUYiHPTTK5Mxmoo1w+Fp9wzkjvPRtl5MPYGiXMJ9wS8wcvdArUwiPpFhHYcAbE1TleM3Qeag==", "controller"=>"access_hubs", "action"=>"destroy", "id"=>"50"}
* Timestamp : 2023-03-20 19:23:26 UTC
* Server : www-6.internal.bikelink.org
* Rails root : /var/www/bikelink
* Process: 9964
-------------------------------
Session:
-------------------------------
* session id: [FILTERED]
* data: {"session_id"=>"e2e6965877ef74ec29b131e58542b5f5",
"warden.user.person.key"=>[[3142], "_Nou9U29jHTmGfhBBee9"],
"_csrf_token"=>"XBBY6B7RJysJRQJcaF6fJdFcJii4chW4pEh2aNfhREg="}
-------------------------------
Backtrace:
-------------------------------
app/services/access_hubs/delete_sip_account_service.rb:18:in `call'
app/controllers/access_hubs_controller.rb:60:in `destroy'
app/controllers/application_controller.rb:44:in `process_action'
Znovu načítať