You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a run is created through the samples collection data, and when continuing with the library preparation are assigned to a pool and this pool to a run, then when using django admin to delete the run, pool and those library preparation are also deleted
Command used and terminal output
Using django admin , delete a run.
Relevant files
No response
System information
iSkyLIMs version 2.3.0.
A possible solution is class LibraryPool(models.Model)
`
To fix this issue is required the following changes:
1. Create a new field run_process with a many to many relation to RunProcess
2. Run the script during upgrade to collect all existing information on the run_process_id field.
Which collects data from old field and set in the new one.
3. Modify the code to change the old field to the new one.
Description of the bug
When a run is created through the samples collection data, and when continuing with the library preparation are assigned to a pool and this pool to a run, then when using django admin to delete the run, pool and those library preparation are also deleted
Command used and terminal output
Using django admin , delete a run.
Relevant files
No response
System information
iSkyLIMs version 2.3.0.
A possible solution is class LibraryPool(models.Model)
`
`
Change the relation of run_process_id from ForeignKey to ManyToMany relation.
The text was updated successfully, but these errors were encountered: