QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

aborting a harvest in the new_harvest state throws an exception #625

Closed atruskie closed 2 years ago

atruskie commented 2 years ago
      raise ArgumentError "#{name} must be an non-blank string"
            ^^^^^^^^^^^^^
  lib/gems/sftpgo-client/lib/sftpgo_client/validation/validation.rb:24:in `validate_user_name'
  lib/gems/sftpgo-client/lib/sftpgo_client/user_service.rb:70:in `delete_user'
  lib/gems/baw-workers/lib/baw_workers/upload_service/communicator.rb:70:in `delete_upload_user'
  app/models/harvest.rb:320:in `close_upload_slot'
  app/modules/aasm_helpers.rb:32:in `public_send'
  app/modules/aasm_helpers.rb:32:in `transition_to_state!'
  app/controllers/harvests_controller.rb:106:in `update'
  app/modules/include_controller.rb:684:in `set_then_reset_user_stamper'