Actions
Task #59291
closed`fieldname` from `sys_category_record_mm` has no default value after upgrading to Typo3 6.2
Status:
Closed
Priority:
-- undefined --
Assignee:
Category:
Categorization API
Target version:
-
Start date:
2014-06-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Sprint Focus:
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?
Actions