Project

General

Profile

Actions

Bug #50396

closed

RootlineUtility->enrichWithRelationFields issue with "group" type MM fields

Added by Popy no-lastname-given almost 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
Start date:
2013-07-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

I've been experiencing a recurring warning on a website, and I figured that something in RootlineUtility->enrichWithRelationFields is strange :

   $loadDBGroup = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Database\\RelationHandler');
   $loadDBGroup->start($pageRecord[$column], $configuration['foreign_table'], $configuration['MM'], $uid, 'pages', $configuration);
   $relatedUids = $loadDBGroup->tableArray[$configuration['foreign_table']];

The code uses a "foreign_table" property, wich is not meant to exist in a "group" relation field.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #61519: Add missing check in RootlineUtilityClosedJacob Rasmussen2014-09-10

Actions
Actions

Also available in: Atom PDF