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
Get an example Composition with that template or get the webtemplate form of the template
Actual result
failure 400 {"error":"Bad Request","message":"cannot construct RMObject because of unknown constraint name NOT_SET full constraint CComplexObject: NOT_SET[null]"}
Expected result (Acceptance Criteria)
expected result is an example composition/webtemplate.
(The template has been created with the Template Designer https://tools.openehr.org/designer/ that can export it also in webtemplate form without errors)
Definition of Done
The defect is checked by an unit or an integration test (Robot)
Merge Request approved
Unit tests passed
Build without errors
Release notes prepared
No additional runtime warnings
The text was updated successfully, but these errors were encountered:
Update: The "NOT_SET" is in the OPT in one rm_object_type field. The OPT is the results of an export from the Archetype Designer(https://tools.openehr.org/designer/). If I change it to "CLUSTER" then everything works (both the example from template and the webtemplate from template). So, the question now is if "NOT_SET" is a valid value still unsupported by EHRBase or an artifact of the designer when the user doesn't set the rm type.
Configuration information
"archie": "2.0.1", "ehrbase_version": "0.21.0", "openehr_sdk": "1.19.0"
"Java": "Oracle Corporation /usr/local/openjdk-11", "JavaVM": "OpenJDK 64-Bit Server VM Oracle Corporation 11.0.15+10", "OS": "Linux amd64 5.11.0-37-generic", "activeProfiles": ["docker"]
Steps to reproduce
Load the following template:
template.zip
Get an example Composition with that template or get the webtemplate form of the template
Actual result
failure 400 {"error":"Bad Request","message":"cannot construct RMObject because of unknown constraint name NOT_SET full constraint CComplexObject: NOT_SET[null]"}
Expected result (Acceptance Criteria)
expected result is an example composition/webtemplate.
(The template has been created with the Template Designer https://tools.openehr.org/designer/ that can export it also in webtemplate form without errors)
Definition of Done
The text was updated successfully, but these errors were encountered: