Skip to content
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

Missing input check for number field at ehr table/model #10

Open
dgrudinin opened this issue Feb 27, 2019 · 0 comments
Open

Missing input check for number field at ehr table/model #10

dgrudinin opened this issue Feb 27, 2019 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@dgrudinin
Copy link
Contributor

dgrudinin commented Feb 27, 2019

If user enter large ehr number, it will cause serious error:

SQLSTATE[22003]: Numeric value out of range: 7 ERROR: value "54353542132423" is out of range for type integer The SQL being executed was: SELECT MAX(cast(number as INT)) FROM "ehr"

Seen at demo stand.

@dgrudinin dgrudinin added the bug Something isn't working label Feb 27, 2019
@dgrudinin dgrudinin added this to the v1.0.0 milestone Apr 16, 2019
@dgrudinin dgrudinin self-assigned this Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant