Bug #92454

Invalid colPos/language UID used in "Languages" view with defLangBinding

Added by Mathias Brodala 23 days ago. Updated 18 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2020-09-30
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Given the "Languages" view is used in the Page module with mod.web_layout.defLangBinding enabled, when reordering content elements in a custom section (colPos > 0) via drag and drop, invalid values for colPos and sys_language_uid are sent to the backend and eventually the DataHandler:

cmd[tt_content][13][move]: -10
data[tt_content][13][colPos]: false
data[tt_content][13][sys_language_uid]: NaN

Here 13 is the UID of the dragged content element and 10 is the UID of the content element after which the dragged element should be sorted.

This affects sorting to positions anywhere else but the beginning of the section. The "Columns" view is fine however.

This make it impossible to move the record:

2: SQL error: 'Incorrect integer value: 'false' for column 'colPos' at row 1' (tt_content:13)

This can be observed in TYPO3v8 and TYPO3v9. Probably also TYPO3v10 with the classic Page module but this cannot be checked ATM due to #90617.


Related issues

Blocked by TYPO3 Core - Bug #90617: Page Module: No content elements displayed with mod.web_layout.defLangBinding Resolved 2020-03-02

History

#1 Updated by Mathias Brodala 23 days ago

  • Blocked by Bug #90617: Page Module: No content elements displayed with mod.web_layout.defLangBinding added

#2 Updated by Mathias Brodala 23 days ago

  • Description updated (diff)

#3 Updated by Gerrit Code Review 18 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/66015

#4 Updated by Oliver Bartsch 18 days ago

As Mathias already mentioned, this is currently blocked by #90617 and can therefore only be tested by applying https://review.typo3.org/c/Packages/TYPO3.CMS/+/66014.

Also available in: Atom PDF