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

Recipients get deleted when form page gets unpublished #1152

Open
bumbus opened this issue Jun 1, 2022 · 1 comment
Open

Recipients get deleted when form page gets unpublished #1152

bumbus opened this issue Jun 1, 2022 · 1 comment

Comments

@bumbus
Copy link
Contributor

bumbus commented Jun 1, 2022

"silverstripe/recipe-cms": "~4.10.0@stable",
"silverstripe/userforms": "^5",

A customer of ours has recognized, that the recipients get deleted if the page gets unpublished.
I believe this is unwanted behaviour.

@bumbus
Copy link
Contributor Author

bumbus commented Jun 1, 2022

Ok it can be prevented through the config:

SilverStripe\UserForms\Model\UserDefinedForm:
  cascade_deletes: false

Nevertheless, I believe it is a strange default behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants