#3384 - ongoing_rentals_issues#bike_parked_issue_request (Card::RangeError) "Can't parse card number

A Card::RangeError occurred in ongoing_rentals_issues#bike_parked_issue_request:

 Can't parse card number range: 'S56V'.
 app/models/card.rb:348:in `parse_range'


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

 * URL        : https://www.bikelink.org/answering_service/app_troubleshooting/bike_parked_issue_request
 * HTTP Method: POST
 * IP address : 173.164.162.129
 * Parameters : {"authenticity_token"=>"wn6F+J/JHUF5wgZHZgvI2wMtUilLmNo14WlLDNX3X48C0oWo2WSNS1hEg8dUz4qN4ktzodoRGY51Aa8onnkEGw==", "lost_card_code_messenger"=>{"mobile_app_id"=>"S56V", "search_phone"=>"", "search_email"=>""}, "commit"=>"Look up", "controller"=>"answering_service/app_troubleshooting/ongoing_rentals_issues", "action"=>"bike_parked_issue_request"}
 * Timestamp  : 2023-05-18 03:20:10 UTC
 * Server : www-5.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 10871

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

 * session id: [FILTERED]
 * data: {"session_id"=>"88f19842ee18a22041dad4ddd27bf2a1",
  "warden.user.person.key"=>[[14447], "_ZqQwkHHepxG1qSV9km7"],
  "_csrf_token"=>"yI2CiAseUbYdt4neoeuVwVHNmFbXr66pel4/n5ltLBQ="}




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

 app/models/card.rb:348:in `parse_range'
 app/models/concerns/card_range.rb:43:in `range_match'
 app/models/concerns/card_range.rb:9:in `find_range'
 app/models/lost_card_code_messenger.rb:138:in `search_by_mobile_app_id'
 app/models/lost_card_code_messenger.rb:147:in `search_by_mail_phone_or_app_id'
 app/controllers/answering_service/app_troubleshooting/ongoing_rentals_issues_controller.rb:15:in `bike_parked_issue_request'
 app/controllers/application_controller.rb:44:in `process_action'

Znovu načítať