Actions
Bug #93109
closedRecords can not be discarded from workspace
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)
Actions