beanstalk_console icon indicating copy to clipboard operation
beanstalk_console copied to clipboard

Creating sample with same name from within tube view fails without feedback

Open fanis opened this issue 6 years ago • 0 comments

Using v 1.7.10

Recreate:

  • assume a sample job exists with name = SAMPLE1 on tube = TUBE1
  • navigate to /?action=manageSamples and then to /?action=newSample
  • attempt to add new sample job with same name = SAMPLE1
  • get expected response " You already have a job with this name "
  • now go to tube = TUBE1 view and wait for a Ready job (pause tube or worker)
  • click on Add to samples button above job, enter same name SAMPLE1 and hit Save
  • no feedback or action is taken
  • viewing the browser developer console, I see an XHR POST to /?action=addSample that leads to a response of Object { result: false, error: "You already have a job with this name" }, but it is not displayed in the UI anywhere.

fanis avatar Sep 04 '19 10:09 fanis