Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15549 closed (fixed)

Model formset regressions tests fail on Postgresql

Reported by: bberes 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 4 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

In [15744]:

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

comment:2 Changed 4 years ago by russellm

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 4 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

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