You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Setup Wagtail with MSSQL, ODBC Driver 17 for SQL Server
Create a Page
Change a Page slug
I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (no)
Technical details
Python version: Run 3.10.12.
Django version: 4.2
Wagtail version: 6.01
Browser version: Edge 123
MSSQL DB driver: ODBC Driver 17 for SQL Server
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:
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: