#29194: Saving entry into db fails when value of a textfield type parameter is too big (more than 6000 char) -------------------------------------+------------------------------------- Reporter: Alberto | Owner: nobody Misail | Type: Bug | Status: new Component: Database | Version: 1.11 layer (models, ORM) | Severity: Normal | Keywords: TextField Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- When a model has a textfield type parameter, the value of this parameter should be a string of any size. Nonetheless, when trying to insert a new entry where this string is longer than 6000 chars it fails throwing an invalid precision value. Note that when trying with small sizes it works I am using a MS SQL database, Django 1.11.9 and Python 3.5.2 Find attached the models file and the test cases that show the issue
-- Ticket URL: <https://code.djangoproject.com/ticket/29194> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/051.a4eee8891382ad28ea347650e8006f87%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.