#3743 - owners#remove_location "Validation failed: Owner an't be blank"

An ActiveRecord::RecordInvalid occurred in owners#remove_location:

 Validation failed: Owner can't be blank
 app/models/location.rb:390:in `remove_from_owner!'


-------------------------------
Request:
-------------------------------

 * URL        : https://www.bikelink.org/owners/113/remove_location?location_id=757
 * HTTP Method: GET
 * IP address : 99.145.199.194
 * Parameters : {"location_id"=>"757", "controller"=>"owners", "action"=>"remove_location", "id"=>"113"}
 * Timestamp  : 2024-06-05 19:42:09 UTC
 * Server : www-11.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 133079

-------------------------------
Session:
-------------------------------

 * session id: [FILTERED]
 * data: {"session_id"=>"704cc4a59b3b25d1411fbcf9534cf016",
  "warden.user.person.key"=>[[28134], "7Zrk6UPxXKtYsYbdqT_t"],
  "params_for_filter"=>
   {"filter_by_location"=>nil,
    "filter_by_owner"=>nil,
    "filter_by_state"=>2,
    "filter_by_priority"=>nil},
  "_csrf_token"=>"kgd2YKANGYotC+KxzFzjVoor5Py7qjBNuPMnRwDFocU="}

-------------------------------
Backtrace:
-------------------------------

 app/models/location.rb:390:in `remove_from_owner!'
 app/controllers/owners_controller.rb:83:in `remove_location'
 app/controllers/application_controller.rb:45:in `process_action'

Znovu načíst