Skip to content

Conversation

@azaxarov
Copy link
Contributor

It appears that the behaviour of _createdAt field has changed, meaning that the value is always undefined until a document is published. Essentially, this new behaviour breaks the existing logic to set default languages when creating a new document.

This has been earlier fixed here and further discussed here.

@azaxarov azaxarov force-pushed the fix/az/unnecessary-patch-to-set-default-languages-on-document-deletion-event branch from f6d938d to 1077b1e Compare September 20, 2024 13:39
Copy link
Contributor

@SimeonGriggs SimeonGriggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, confirmed you can delete documents when the plugin config contains defaultLanguages.

@SimeonGriggs SimeonGriggs merged commit 285d71e into main Sep 21, 2024
@SimeonGriggs SimeonGriggs deleted the fix/az/unnecessary-patch-to-set-default-languages-on-document-deletion-event branch September 21, 2024 08:33
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

Successfully merging this pull request may close these issues.

2 participants