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

DB-Import for nested elements fails due to missing default-value of parentid. #197

Open
datamints opened this issue Sep 1, 2022 · 0 comments

Comments

@datamints
Copy link

When creating a content-element with nested elements, parentid is configured as int in the database but in the TCA, no default value is configured (-> so it is handled as string).
In our case, this causes empty Strings to be passed in the INSERT-Query, which in turn caused an SQL-Error when trying to import.
We patched it locally by just adding 'default' => 0 in the TCA for parentid.

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

No branches or pull requests

1 participant