When saving a redirect, SQL server database does not support ignoring conflicts. #11851
Labels
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
Issue Summary
When changing the slug of a page, an attempt to save a redirect is done by wagtail, if the server is SQL server (MSSQL) a NotSupportedError appears related to including the kwarg {'ignore_conflicts': True}.
Exception Location: | .env/lib/python3.10/site-packages/django/db/models/query.py, line 681, in _check_bulk_create_options
Raised during: | wagtail.admin.views.pages.edit.EditView
Steps to Reproduce
Technical details
3.10.12
.Working on this
I do not yet have thoughts on skills needed except to allow for a condition for MSSQL and exclude the kwarg in that case.
I would be keen to work on this once the issue has been accepted.
The text was updated successfully, but these errors were encountered: