Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#15549 closed (fixed)

Model formset regressions tests fail on Postgresql

Reported by: Béres Botond Owned by: nobody
Component: Forms Version: master
Severity: Keywords: postgresql blocker
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

Description

======================================================================
FAIL: test_custom_delete (regressiontests.model_formsets_regress.tests.FormfieldShouldDeleteFormTests)
Verify DeleteFormset ignores DELETE field and uses form method
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/botondus/Envs/django/django/tests/regressiontests/model_formsets_regress/tests.py", line 401, in test_custom_delete
    self.assertTrue(formset.is_valid())
AssertionError: False is not True

======================================================================
FAIL: test_no_delete (regressiontests.model_formsets_regress.tests.FormfieldShouldDeleteFormTests)
Verify base formset doesn't modify database
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/botondus/Envs/django/django/tests/regressiontests/model_formsets_regress/tests.py", line 370, in test_no_delete
    self.assertTrue(formset.is_valid())
AssertionError: False is not True

Change History (3)

comment:1 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

In [15744]:

Fixed #15549 -- Removed dependency on specific primary keys. Thanks to bberes for the report.

comment:2 Changed 6 years ago by Russell Keith-Magee

In [15747]:

[1.2.X] Fixed #15549 -- Removed dependency on specific primary keys. Thanks to bberes for the report.

Backport of r15744 from trunk.

comment:3 Changed 5 years ago by Jacob

milestone: 1.3

Milestone 1.3 deleted

Note: See TracTickets for help on using tickets.
Back to Top