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

Add cascade={"persist"} to Field#content relation #2854

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

bobdenotter
Copy link
Member

When programmatically creating content, this:

$this->entityManager->persist($this->currentrecord);

Could give the following error:

zoho-error

This PR fixes this error.

Copy link
Member

@mcdennem mcdennem left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Collaborator

@nestordedios nestordedios left a comment

Choose a reason for hiding this comment

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

Yes! This works! 👍

@bobdenotter bobdenotter merged commit 1f0fcc6 into master Oct 8, 2021
@bobdenotter bobdenotter deleted the fix/Field-persist branch October 8, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants