Issue Bug Closed

#65472TYPO3 6.2.10 Extbase Type Converter can't resolve Tx_Extbase_Persistence_ObjectStorage

Matthias Krappitz 03/03/15, 10:12 updated 05/02/15, 19:08

Description

Upgrading from 6.2.9 to 6.2.10 extbase fails to save values in frontend editing forms (standard f:form and f:input, f:select, … fields with object / property binding, using standard repository methods add / update) to work on properties defined like this:

/**
 * Some Variable
 *
 * @var Tx_Extbase_Persistence_ObjectStorage<Tx_Someextension_Domain_Model_Somedata>
 * @lazy
 */
protected $someVariable;

results in this on saving:

Uncaught TYPO3 Exception
#1297759968: Exception while property mapping at property path "someVariable":Class Tx_Extbase_Persistence_ObjectStorage<Tx_Someextension_Domain_Model_Somedata> does not exist (More information)

TYPO3\CMS\Extbase\Property\Exception thrown in file
/.../typo3_src-6.2.10/typo3/sysext/extbase/Classes/Property/PropertyMapper.php in line 106.

Similar error like it was fixed in #54289. Probably got re-introduced by the new class loading mechanism in 6.2.10 that seems not to be able to work in this case on not-namespaces classes with the rewritten extbase property manager and the object binding in frontend forms.

Switching core back to 6.2.9 and clearing all caches, my forms save their data with no problem.

If of any importance my CF config looks like this:

'caching' => array(
    'cacheConfigurations' => array(
        'cache_pages' => array(
            'options' => array(
                'compression' => TRUE,
            ),
        ),
        'extbase_object' => array(
            'backend' => '\\TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend',
        ),
        'extbase_reflection' => array(
            'backend' => '\\TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend',
        ),
    ),
),

Reviews 0

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