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
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
delete from dyextn_containers where name in ('CollectionProtocol', 'Participant', 'SpecimenCollectionGroup', 'Specimen', 'Order', 'Shipment');
- Restart OpenSpecimen