Error message in body is
An ActionView::Template::Error occurred in submissions#show:
undefined method 'template_name' for nil
app/models/submission.rb:130:in 'Submission#scrna_core_cdna_prep_gem_x_5p_submission?'
When building a submissions using /submissions/new there is an option to ‘delete order’ when making a submission.. as in ‘oh I’ve made an error and added the wrong plate barcode’.
However once the order has been deleted the page reverts back to /submissions/new and the previous submission is left in ‘limbo’ in the database forever in a state of ‘building’ and without any orders.
And it is the absence of an order that triggers the ActionView::Template::Error
- https://training.sequencescape.psd.sanger.ac.uk/submissions/new
- select template <General: Cherrypick>
- plate identifier: ISC
- select "+Add Order"
Study and Project
- Study: "Dummy EGA accession study"
- Project Name: "test BAC"
- Add Samples => "From Plate and Wells" tab
training env. stock plate example would be 'DN501776L'
- Comments: 'something'
- Save order
- At this point select "Delete Order"
Deletes order... however the page goes back to https://training.sequencescape.psd.sanger.ac.uk/submissions/new
Outcome
The submission (on which the order has been deleted) should not be created/built.
The submission has not been built so should not transition from pending to building.
Error message in body is
When building a submissions using /submissions/new there is an option to ‘delete order’ when making a submission.. as in ‘oh I’ve made an error and added the wrong plate barcode’.
However once the order has been deleted the page reverts back to /submissions/new and the previous submission is left in ‘limbo’ in the database forever in a state of ‘building’ and without any orders.
And it is the absence of an order that triggers the ActionView::Template::Error
Study and Project
training env. stock plate example would be 'DN501776L'
Deletes order... however the page goes back to https://training.sequencescape.psd.sanger.ac.uk/submissions/new
Outcome
The submission (on which the order has been deleted) should not be created/built.
The submission has not been built so should not transition from pending to building.