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
2021-05-12 11:30:33.965 00000001 SEVERE com.ibm.fhir.schema.app.Main bad argument
--schema-name 'TEST1' argument does not match tenant schema: 'TEST1 '
java.lang.IllegalArgumentException: --schema-name 'TEST1' argument does not match tenant schema: 'TEST1 '
at com.ibm.fhir.schema.app.Main.getTenantInfo(Main.java:1011)
at com.ibm.fhir.schema.app.Main.freezeTenant(Main.java:1030)
at com.ibm.fhir.schema.app.Main.dropTenant(Main.java:1094)
at com.ibm.fhir.schema.app.Main.process(Main.java:1803)
at com.ibm.fhir.schema.app.Main.main(Main.java:1860)
Expected behavior
The value should be usable to get the tenant, howeve rit comes back padded with extra spaces.
Describe the bug
A clear and concise description of what the bug is.
Environment
Which version of IBM FHIR Server?
off of the main branch 4.8.0-SNAPSHOT
To Reproduce
Steps to reproduce the behavior:
mkdir -p db docker run -itd --name mydb2_1631 --rm --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=change-password -e DBNAME=fhirdb -v $(pwd)/db:/database ibmcom/db2:11.5.4.0
docker exec -it mydb2_1631 /bin/bash su - db2inst1 /opt/ibm/db2/V11.5/bin/db2 CREATE DB FHIRDB using codeset UTF-8 territory us PAGESIZE 32768
Optionally, you may need to drop the db
/opt/ibm/db2/V11.5/bin/db2 drop db fhirdb
.Build Main
mvn clean install -f fhir-parent -DskipTests
Create Schemas
Results in
Expected behavior
The value should be usable to get the tenant, howeve rit comes back padded with extra spaces.
Additional context
Confirming #1631 on db2
The text was updated successfully, but these errors were encountered: