1

[See solution below]

To move a TYPO3 10 website from tx:gridelements to tx:container I installed tx:container and configured it as it should be. Everything works like a charm. But when I try to move an element (id: 203) into a container-element there occurs an error:

2: SQL error: 'Data truncated for column 'colPos' at row 1' (tt_content:203)

When I then copy the same element and paste it into the container-element it is shown and works like a charm.

[SOLUTION] There was also a module called paste_reference installed and after updating it everything works as it should.

Urs Bo
  • 308
  • 1
  • 11
  • 1
    How old is your extension, when was it last updated? https://github.com/b13/container/commit/9920efeb69f6391228a61b2d7211bf3c400a02ac says some commit was made to the project resolving colPos problem? – UnpassableWizard Jan 12 '23 at 15:40
  • 1
    Please check the type of `colPos`-field in your database. In some cases, this error can be the result of a wrong type of input. Gridelements uses *negative* colPos-values for some cases, but `colPos` is defined as unsigned INT in newer TYPO3 versions. – Julian Hofmann Jan 13 '23 at 07:54
  • Thanks, Julian, good hint, but the database was OK – I already deinstalled Gridelements. Rustyjim gave the hint to update Container but it did not solve the issue. But there was the module [paste_refernece](https://extensions.typo3.org/extension/paste_reference) that needed to be updated and solved the issue. I updated the question. Thanks anyway! – Urs Bo Jan 25 '23 at 14:33

0 Answers0