Closed kdp-cloud closed 1 week ago
sounds like the migrations haven't been run properly, and is missing this one - https://github.com/seek4science/seek/blob/main/db/migrate/20240823123223_add_make_local_copy_to_content_blob.rb
are you able to reproduce this on the test server ?
You're right. I was missing migrations apparently, which explains why I didn't have the error while developing...
... migrating database ...
== 20240823123223 AddMakeLocalCopyToContentBlob: migrating ====================
-- add_column(:content_blobs, :make_local_copy, :boolean, {:default=>false})
-> 0.0740s
== 20240823123223 AddMakeLocalCopyToContentBlob: migrated (0.0742s) ===========
== 20241015093333 DropObservationUnitProjects: migrating ======================
-- drop_table(:observation_units_projects, {:id=>false})
-> 0.0947s
== 20241015093333 DropObservationUnitProjects: migrated (0.0948s) =============
I don't get the error anymore so I'll close the issue.
When a Sample Type is updated, the following error is raised.
This is probably an indication that the 'Template' is not being created, resulting in this error message on the webpage:
Note: This was not noticed during the development. Due to development mode?