-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trim whitespace from values in schema tool property files #1899
Comments
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Signed-off-by: Troy Biesterfeld <tbieste@us.ibm.com>
Issue #1899 - Trim whitespace from values in schema tool property files
Works as expected... cat << EOF > db.properties 2021-05-13 10:46:55.379 00000001 WARNING com.ibm.fhir.schema.app.Main Whitespace trimmed from value of property 'schemaName' |
The schema tool uses values from properties files to configure the database connection. Trailing spaces may not be obvious and can cause issues if they are used in SQL statements (typically when used with bind variables).
The schema tool should trim values and ideally warn when the trim changes the value.
Additionally, the values must be checked with DataDefinitionUtil#assertValidName(String name).
The text was updated successfully, but these errors were encountered: