[TYPO3-mvc] Updating property failed if not empty

J. Weber newsletter at jewe.net
Wed Aug 24 17:25:01 CEST 2011


Thanks! Ok, so everything is fine until extbase saves to the database.


Am 24.08.11 16:46, schrieb Marc Bastian Heinrichs:
>> |	Tx_Wpj_Domain_Model_articletype:100 - Tx_Wpj_Domain_Model_articletype:100|
>>
>>
>> No errors in the log. This is so strange, i can't believe it...
> is your TCA config correct?

I hope so:


     'articletype' => array(
             'exclude' => 0,
             'label'   => '...tx_wpj_domain_model_article.articletype',
             'config'  => array(
                 'type' => 'inline',
                 'foreign_table' => 'tx_wpj_domain_model_articletype',
                 'minitems' => 0,
                 'maxitems' => 1,
                 'appearance' => array(
                     'collapse' => 0,
                     'newRecordLinkPosition' => 'bottom',
                 ),
             )
         )

If i manually set 0 or NULL in the database, "articletype" *is* updated.




More information about the TYPO3-project-typo3v4mvc mailing list