Reputation: 3354
I created an domain model with an attribute "external_url" in TCA. But in the Domain Model I wrote "externalURL" instead of "externalUrl". Now I want to correct this. But allways when I change this I got an Exception "#1251315967: Could not determine the child object type."
I cleared allready the Cache within the install tool (typo3 cache and opcode cache) and cleared all cf_*
tables in the Database. I also deleted manually the typo3temp/Cache/
directory. But the error doesn't disappear.
What must I do that this renaming get effect!? In my development enviroment it works instantly...
Edit: More information:
My annotation in the domain model:
/**
* @var string
*/
protected $externalUrl = '';
My TCA:
'external_url' => array(
'exclude' => 0,
'label' => 'LLL:EXT:my_ext/Resources/Private/Language/locallang_db.xlf:tx_myext_domain_model_model.external_url',
'config' => array(
'type' => 'input',
'max' => 1024,
'size' => 50,
'softref' => 'typolink',
'eval' => 'trim',
'wizards' => array(
'link' => array(
'icon' => 'link_popup.gif',
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1',
'module' => array(
'name' => 'wizard_element_browser',
'urlParameters' => array(
'mode' => 'wizard'
)
),
'title' => 'LLL:EXT:cms/locallang_ttc.xlf:header_link_formlabel',
'type' => 'popup'
),
'_PADDING' => 2
)
)
),
and if needed the sql column definition:
external_url varchar(1024) DEFAULT '' NOT NULL,
Upvotes: 0
Views: 77
Reputation: 10790
Have you deactivated/activated the extension?
have you cleared /typo3temp/autoload/
?
some information is stored outside the caches, which are cleared with the build in buttons.
also missing dependencies may be involved where the loading order is important (and the last activated extension is loaded last). Be sure to have clean dependencies!
Upvotes: 1
Reputation: 10790
Have you any data which might reference the old attribute? are the database tables valid?
Upvotes: 0
Reputation: 4271
You most likely have a typo or similar error in one or more 1) property names or 2) missing/incorrect @var
annotations in your model. The error comes when the Reflection framework is unable to determine the type of a specific property by analysing the annotation it has.
Upvotes: 0