-
Notifications
You must be signed in to change notification settings - Fork 39
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
Attempting to create a project from a submission with a decimal value results in an error #3680
Comments
I can take a stab at this one |
We have earlier taken measures to only allow int values here. But since you have seen flots it is not working 100%. |
So this should be an integer across the board? I've seen quite a few existing submissions on production that had cents in the requested funds |
My comment only refer to the "Requested amount" custom field. I know OTF do not use that mush anymore, opting for a generic field instead. Do not now/remember the reasoning around that. But values in generic fields are not copied over to projects so should not matter. |
When attempting to create a project from an accepted submission that has
Requested Funding
with a decimal value (ie. 5478.50), the errorField 'value' expected a number but got <decimal funding value>
is produced.I believe this issue lies within the project model only accepting a positive integer.
The text was updated successfully, but these errors were encountered: