-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Some String Has Truncated Before Model Save In Releases Version==3.2.3 #1543
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
Comments
@tryReboot do you have an example of a query that is impacted by this? |
@tim-schilling For example , you want to save a string into some django model, if this string include "y" or "e", this string was truncated then save into database. I don't know if anyone else has same problem. |
It sounds like the issue is when the parameter is not for a GIS query and it's stripping these characters still. |
Hey guys, Wow, was getting crazy about this... Have some constraints that check that some I don't use GIS in that specific project so it is not related to only GIS. I think it is important to give this a _very high priority on releasing a bugfix since someone could have the debug-toolbar enabled in a production code (even if in the middleware only), and he would for sure have issues with his data. The problem caught my attention because, in the example above, "ecommerce" is an enum for me and I have a database constraint that checks this and don't let me type anything other than the valid values, and "commerc" is not one of those. But the fact that "John Doe" was written as "John Do" could easily pass silently. And like I said, unit tests are unlikely to ge this unless they are really testing the request itself (for me they didn't, specially because even when testing the requests, I only enable the toolbar's middleware for code running on manage.py itself) |
Also, I saw that last release was released as By only increasing the micro it looks like it is a release that only has bugfixes. By increasing at least the minor it makes it easy for people to know that "well, let me take a look at the changelog to check if there's something that I need to be aware of". |
As far as I knew, there were no issues with the project and it was all bug fixes. |
@bellini666 thank you for escalating the issue. I likely would have waited until tomorrow to release 3.2.4 otherwise. |
Hey @tim-schilling , np! Ty for acting that fast! :) |
I found some string was truncated in this function
Related Pull Request
Minimally Reproducible Test Case
The text was updated successfully, but these errors were encountered: