Open rychen58 opened 4 years ago
If there is an Aquarium bug here, it is that Aquarium let you do something that you should not have been able to do.
@rychen58 do you still have these frozen protocols?
Yes, these protocols are still frozen in Aquarium.
Summary & Context
Currently, there are 39 frozen "Scheduled" protocols inside Aquarium, and these protocols are frozen so they can't run and complete. Two for Order Primer protocol (Plan # 20717), five for PCR protocol (Plan # 20767, 207774), 12 Upload Sequencing Results protocol (Plan # 20679), 4 Confirm Sequencing Results protocol (Plan # 20670 and 20671), and 16 Make Miniprep + Glycerol Stock (Plan # 20698, 20699, and 20700).
Expected Behavior
Normally if a protocol is scheduled, an associated job will be generated, and the user can run the job to complete the protocol.
Current Behavior
There is no job associated with these frozen "scheduled" plans, which means these protocols can't be run.
Possible Solution
!!!!Before trying the possible solution below, check with Rita to see anyone is currently "scheduling" new protocols!!!! According to Ben from Klavins Lab: You'll have to run this in the rails console within the Aquarium container. From the Aquarium directory, run docker-compose exec app /bin/sh rails c Operation.where(status: 'scheduled').select {|op| op.jobs.empty?}.each {|op| op.error(:no_job,'operations scheduled without jobs') }
Steps to Reproduce
Environment
Chrome