#33333: Models with a BinaryField fail to deepcopy in setUpTestData() on
PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Adam Zimmerman | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* cc: Simon Charette (added)
* severity: Normal => Release blocker
Comment:
Thanks for the report! Regression in
3cf80d3fcf7446afdde16a2be515c423f720e54d. I was able to reproduce this
issue on PostgreSQL with the following test:
{{{#!python
class MyTests(TestCase):
@classmethod
def setUpTestData(cls):
MyModel.objects.create(binary=b'y')
cls.my_binary = MyModel.objects.get()
def test_1(self):
self.my_binary.binary = b'z'
self.my_binary.save()
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33333#comment:2>
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.77ec18d3174df57e47e8bc04589a85c2%40djangoproject.com.