Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 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

Attachments (0)

Change History (3)

comment:1 Changed 3 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 3 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 3 years ago by jacob

  • milestone 1.3 deleted

Milestone 1.3 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.