*/
public $relations = array();
- /**
- * @var array
- */
- public $words_strings = array();
-
- /**
- * @var array
- */
- public $words = array();
-
/**
* Number which we can increase if a change in the code means we will have to force a re-generation of the index.
*
// Get raw record from DB:
$record = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('*', $table, 'uid=' . (int)$uid);
if (is_array($record)) {
- // Initialize:
- $this->words_strings = array();
- $this->words = array();
// Deleted:
$deleted = $GLOBALS['TCA'][$table]['ctrl']['delete'] && $record[$GLOBALS['TCA'][$table]['ctrl']['delete']] ? 1 : 0;
// Get all relations from record:
$this->createEntryData_softreferences($table, $uid, $fieldname, '', $deleted, $dat['softrefs']['keys']);
}
}
- // Word indexing:
- foreach ($GLOBALS['TCA'][$table]['columns'] as $field => $conf) {
- if (GeneralUtility::inList('input,text', $conf['config']['type']) && (string)$record[$field] !== '' && !\TYPO3\CMS\Core\Utility\MathUtility::canBeInterpretedAsInteger($record[$field])) {
- $this->words_strings[$field] = $record[$field];
- }
- }
return $this->relations;
}
}
--- /dev/null
+======================================================================================
+Breaking: #63780 - Remove public properties words and word_strings from ReferenceIndex
+======================================================================================
+
+Description
+===========
+
+Public properties words and word_strings are removed from class \TYPO3\CMS\Core\Database\ReferenceIndex.
+ReferenceIndex->words was always an empty array and ReferenceIndex->word_strings contained string from
+input and text field of every record that was given to this class instance.
+
+
+Impact
+======
+
+An extension relying on one of the public properties to be there will fail.
+
+
+Affected installations
+======================
+
+It is unlikely that any extension used property words or word_strings. An instance could be
+checked by searching for usages of class ReferenceIndex.
+
+
+Migration
+=========
+
+The according logic needs to be re-implemented in the extension that used the content of these
+properties.