Skip to content

when getting element by uid check for unpublished draft too#16315

Merged
brandonkelly merged 2 commits into5.xfrom
bugfix/getting-element-by-uid
Dec 11, 2024
Merged

when getting element by uid check for unpublished draft too#16315
brandonkelly merged 2 commits into5.xfrom
bugfix/getting-element-by-uid

Conversation

@i-just
Copy link
Copy Markdown
Contributor

@i-just i-just commented Dec 11, 2024

Description

Follow up to #15994.

The 400 error could still occur when adding an entry to a matrix field in inline-editable blocks view mode if the owner element didn’t support drafts (regardless of the autosaveDrafts setting).

thanks, @nfourtythree, for pointing that out!

Related issues

n/a;

@i-just i-just requested a review from brandonkelly December 11, 2024 15:00
[ci skip]
@brandonkelly brandonkelly merged commit 35f7de5 into 5.x Dec 11, 2024
@brandonkelly brandonkelly deleted the bugfix/getting-element-by-uid branch December 11, 2024 23:06
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