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

[5.x] Fix false-positive on publish form Action exceptions #10855

Conversation

caseydwyer
Copy link
Contributor

This PR fixes incorrect toast status, when actions are ran from the publish form. The change to data-list\HasActions.js was initially added in #10264, but the corresponding changes to publish/HasActions.js were missing. That resulted in a "false positive" toast when an Action would throw an exception from its run method—see below.

Before:

image

After:

image

mirrors the `data-list\HasActions.js` approach, as updated in statamic#10264.
@caseydwyer caseydwyer changed the title update HasActions.js for publish form [5.x] Fix false-positive on publish form Action exceptions Sep 27, 2024
@jasonvarga jasonvarga merged commit e528c45 into statamic:5.x Sep 27, 2024
16 of 17 checks passed
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