Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build strategy leads to errors #94

Open
tbrlpld opened this issue Sep 18, 2024 · 0 comments
Open

Build strategy leads to errors #94

tbrlpld opened this issue Sep 18, 2024 · 0 comments

Comments

@tbrlpld
Copy link

tbrlpld commented Sep 18, 2024

When ever I try to use the "build" strategy with page models and try to validate the model (with full_clean) I get the following error:

django.core.exceptions.ValidationError: {'path': ['This field cannot be blank.'], 'depth': ['This field cannot be null.']}

I guess these must be set by Wagtail in the admin form or during save? It's weird that we cannot build a valid page object without saving it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant