Issue Task Closed

#59291`fieldname` from `sys_category_record_mm` has no default value after upgrading to Typo3 6.2

Kurt Gusbeth 06/02/14, 17:39 updated 05/11/15, 10:51

Description

I am using makeCategorizable since Typo3 version 6.0 like this:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
    $_EXTKEY,
    'tx_camaliga_domain_model_content',
    $fieldName = 'categories',
    $options = array()
);

and:

CREATE TABLE tx_camaliga_domain_model_content (
    ...
    categories int(11) DEFAULT '0' NOT NULL,
    ...
);

The problem: till Typo3 6.2 the field `fieldname` of sys_category_record_mm din´t exist.
Since Typo3 6.2 it contains the value ‘categories’ when I save an element, but for old entries it contains nothing.
The problem: all entries with an empty `fieldname` in sys_category_record_mm are ignored in the backend. Thats bad.
There should be an Updater that sets the `fieldname` of sys_category_record_mm when updating from Typo3 6.0 or 6.1 to Typo3 6.2.
Do you have a suggestion how to fix this problem?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.