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

plugin-form-builder: FormID validation #4471

Closed
dkirchhof opened this issue Aug 12, 2023 · 2 comments · Fixed by #4730
Closed

plugin-form-builder: FormID validation #4471

dkirchhof opened this issue Aug 12, 2023 · 2 comments · Fixed by #4730
Assignees
Labels
plugin: form-builder @payloadcms/plugin-form-builder status: needs-triage Possible bug which hasn't been reproduced yet

Comments

@dkirchhof
Copy link
Contributor

Actually it could be an issue in payload:
If I send a request with an invalid(?) formID, I will get an validation error, but if I pass a valid(?) but non existent ID the validation doesn't fail.

Example:
invalid: "64d7410917aeb69b58" => fails
valid, but form doesn't exist: "64d7410917aeb69b58ab225e" => ok
valid and form exists: "64d7410917aeb69b58ab2254" => ok

This leads to invalid form submissions:

image

@jacobsfletch
Copy link
Member

This plugin is now being maintained in the Packages Directory of the Payload Monorepo. This repo will soon be archived and all open issues be closed. This issue, however, will be transferred over. Please refer to this open discussion for more details.

@jacobsfletch jacobsfletch transferred this issue from payloadcms/plugin-form-builder Dec 12, 2023
@jacobsfletch jacobsfletch added the plugin: form-builder @payloadcms/plugin-form-builder label Dec 12, 2023
@jacobsfletch jacobsfletch changed the title FormID validation Form Builder: FormID validation Dec 12, 2023
@jacobsfletch jacobsfletch self-assigned this Dec 13, 2023
@jacobsfletch jacobsfletch changed the title Form Builder: FormID validation plugin-form-builder: FormID validation Dec 18, 2023
@paulpopus paulpopus assigned paulpopus and unassigned jacobsfletch Jan 8, 2024
@AlessioGr AlessioGr added the status: needs-triage Possible bug which hasn't been reproduced yet label Jan 11, 2024
Copy link

github-actions bot commented Sep 7, 2024

This issue has been automatically locked.
Please open a new issue if this issue persists with any additional detail.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
plugin: form-builder @payloadcms/plugin-form-builder status: needs-triage Possible bug which hasn't been reproduced yet
Projects
None yet
4 participants