The old caTissue or OpenSpecimen v1.1 query forms are not compatible with v2x or later version query forms. As a result, when upgrading from v1.1 to later versions, following error occurs during application bootstrap: Error creating bean with name 'importQueryForms'
To fix this problem, follow below steps:
Delete old query form associations
Code Block delete from catissue_form_context where container_id in ( select identifier from dyextn_containers where name in ('CollectionProtocol', 'Participant', 'SpecimenCollectionGroup', 'Specimen', 'Order', 'Shipment') ) and entity_type = 'Query';
Delete incompatible query form definitions
Code Block delete from dyextn_containers where name in ('CollectionProtocol', 'Participant', 'SpecimenCollectionGroup', 'Specimen', 'Order', 'Shipment');
Delete all form import change logs. This step needs to be carried out iff
os_import_forms_log
table exists in the schema.Code Block delete from os_import_forms_log;
- Restart OpenSpecimen