-
Notifications
You must be signed in to change notification settings - Fork 38
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
Saving LARGE app resources causes exception due to auditing. ("Data too long for column 'NewValue' at row 1"
)
#829
Comments
Here is the form that couldn't be saved. |
Still an issue. Reported by MCNB when editing large forms. Workaround:
|
Reported by: Fedor at NHMD on Discourse |
"Data too long for column 'NewValue' at row 1"
)
This issue has been mentioned on Specify Community Forum. There might be relevant details there: |
Issue #632 was fixed by truncating field values when saving them to the audit log. But the issue reoccurred when trying to save changes to a form that involved adding a unicode character. I suspect the truncation which is done in Python is counting the characters while the MySQL field limit is on the number of bytes. Since a unicode character can consist of multiple bytes the truncated value can still exceed the field size.
The text was updated successfully, but these errors were encountered: