Bug #96940
closedPostgres: Translation of page content fails with SQL Error
100%
Description
I'm setting up a new website with TYPO3 11.5.6 and the introduction package.
When I add a translation for a page everything works as expected. Then I use the translation wizard to translate the content in connected mode.
Then the problem occurs. I edit a content element and when I try to save the changes I get the following SQL Error:
SQL error: 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for type bytea' (pages:86)
It must have to do with the l18n_diffsource
field in the tt_content
table because it is the only bytea
field.
The error only occurs on translated elements, not on the originals.
I'm on OpenBSD, with Nginx and Postgres.
Files
Updated by Peter Kraume almost 3 years ago
- Subject changed from Translation of page content fails with SQL Error to Postgres: Translation of page content fails with SQL Error
- Category set to Database API (Doctrine DBAL)
- Tags set to acc
Updated by Gerald Z almost 3 years ago
I also did a fresh install on debian 11, with php7.4 and postgresql, and the same error occours.
So I guess it has nothing to do with the installation on OpenBSD.
Updated by Stefan Bürk almost 3 years ago
- File typo3-96940-postgres13-issue.png typo3-96940-postgres13-issue.png added
- Status changed from New to Accepted
Thanks for reporting this issue, I have taken some time to test this through different constellation. So to say,
issue confirmed. Will dive deeper into this, but can take some time.
I can confirm the reported error:
TYPO3 v11-dev PHP7.4 Postgres 13 Styleguide + Introduction Package ( Linux Mint 20/Ubuntu + DEBIAN 11) confirmed
TYPO3 v11-dev PHP8.0 Postgres 13 Styleguide + Introduction Package ( Linux Mint 20/Ubuntu + DEBIAN 11) confirmed
TYPO3 v11-dev PHP8.1 Postgres 13 Styleguide + Introduction Package ( Linux Mint 20/Ubuntu + DEBIAN 11) confirmed
TYPO3 v12-dev PHP8.1 Postgres 13 Styleguide ( Linux Mint 20/Ubuntu + DEBIAN 11) confirmed
TYPO3 v12-dev PHP8.1 Postgres 10 Styleguide ( Linux Mint 20/Ubuntu + DEBIAN 11) confirmed
Tested but reported error not occuring:
TYPO3 v10-dev PHP7.4 Postgres 13 Introduction Package ( Linux Mint 20/Ubuntu + DEBIAN 11) not confirmed
Some minor "details":
- v12 shows the error only on creating a new page translation, not on saving a translated content element.
v11 showed that error on page translation and saving an edited content element which had been translated
(connected mode) - occurs with Styleguide OR Introduction packages (tested in clean reruns, not in a mixed installation)
- v11 styleguide creating frontend page records throws an database exception / error. This should have been
fixed in sytleguide already (sidefinding -> check if fix was backported or if release is missing) - seems not related to Postgres v13, as at least on main Postgres v10 shows same error
attached error message:
Updated by Gerrit Code Review almost 3 years ago
- Status changed from Accepted to Under Review
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73636
Updated by Gerrit Code Review almost 3 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73636
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73636
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73551
Updated by Stefan Bürk over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 46fbd8889e2dcd7a2b3b79a3dced7bc5f63b6b80.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73551
Updated by Stefan Bürk over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset e43bff3568403dd41a285a13d6a21c8374cf4578.
Updated by Gerald Z over 2 years ago
I just tried 11.5.7 on two installations and everything looks fine now.
Thanks!