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

[BUG] Impossible to move CEs into container CE #475

Closed
dkd-kaehm opened this issue Feb 9, 2024 · 4 comments
Closed

[BUG] Impossible to move CEs into container CE #475

dkd-kaehm opened this issue Feb 9, 2024 · 4 comments

Comments

@dkd-kaehm
Copy link

dkd-kaehm commented Feb 9, 2024

After drag&drop or cut&paste into the container

  • the error is printed in BE
  • and the moved CE is detached from colPos. -> (Unused elements detected on this page)
  • the colPos of moved CE is set to uid of target container -> colPos = 154431

BE error message:

1: These fields of record 154417 in table "tt_content" have not been saved correctly: colPos! The values might have changed due to type casting of the database.

xDebug shown following field array on

  • \TYPO3\CMS\Core\DataHandling\DataHandler::process_datamap()
    • \TYPO3\CMS\Core\DataHandling\DataHandler::updateDB()
      • \TYPO3\CMS\Core\DataHandling\DataHandler::checkStoredRecord()
$fieldArray = [
    'colPos' => '154431-201',
    .....
];

Most probably following lines are involved on this trouble:

'colPos' => $container->getUid() . ContainerGridColumn::CONTAINER_COL_POS_DELIMITER . $child['colPos'],

and/or

'colPos' => $container->getUid() . ContainerGridColumn::CONTAINER_COL_POS_DELIMITER . $child['colPos'],

Version:

  • TYPO3: 10 ELTS
  • EXT:container: 2.3.3

#458 (comment) didn't help.

@achimfritz
Copy link
Contributor

Hi @dkd-kaehm , do you use EXT:paste_reference , if so, see #297

@dkd-kaehm
Copy link
Author

dkd-kaehm commented Feb 12, 2024

Hi @dkd-kaehm , do you use EXT:paste_reference , if so, see #297

Nope, the ehaerer/paste-reference is not installed.

@dkd-kaehm
Copy link
Author

Ups, That is caused by EXT:gridelements 10.4.3, which is currently installed in parallel due of migration task.
Uninstalling EXT:gridelements makes move into EXT:container wirking again.

@dkd-kaehm
Copy link
Author

dkd-kaehm commented Feb 15, 2024

See: #115, #160

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

2 participants