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 actions on form submissions #10145

Closed
wants to merge 1 commit into from

Conversation

duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented May 21, 2024

This pull request fixes an issue where running actions on form submissions would result in an error, due to the getItemData method being missing from the SubmissionActionController.

Fixes #10141.

@@ -14,4 +17,17 @@ protected function getSelectedItems($items, $context)
return $form->submission($item);
});
}

protected function getItemData($submission, $context): array
Copy link
Member Author

Choose a reason for hiding this comment

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

Just thinking about this now...

Since we're not showing actions on the publish form page, maybe this should just return an empty array for the time being and we can implement this if/when we get around to it.

@jasonvarga
Copy link
Member

Will address this in #10132

@jasonvarga jasonvarga closed this May 21, 2024
@duncanmcclean duncanmcclean deleted the fix/submission-actions branch May 21, 2024 18:17
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.

Can't delete form submissions
2 participants