Project

General

Profile

Actions

Bug #93109

closed

Records can not be discarded from workspace

Added by Sebastian Michaelsen over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2020-12-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I try to discard news records in the workspaces module I get an SQL error: Unknown column 'tablenames' in 'where clause'.

I tracked down the issue to here: https://github.com/TYPO3/TYPO3.CMS/blob/956c01e07885d5c1dffffb2a7ab8aae0db4df9d6/typo3/sysext/core/Classes/DataHandling/DataHandler.php#L5656

There it is hardcoded that the mm relation table always has a "tablenames" field. However this is not always the case, e.g. tx_news_domain_model_news.related (https://github.com/georgringer/news/blob/master/Configuration/TCA/tx_news_domain_model_news.php#L310)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93064: Properly discard workspace MM relationsClosed2020-12-11

Actions
Actions

Also available in: Atom PDF