Project

General

Profile

Actions

Bug #65472

closed

TYPO3 6.2.10 Extbase Type Converter can't resolve Tx_Extbase_Persistence_ObjectStorage

Added by Matthias Krappitz over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2015-03-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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',
        ),
    ),
),

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #54289: Using Tx_Extbase_Persistence_ObjectStorage doesn't work in rewritten PropertyMapperClosed2013-12-09

Actions
Actions

Also available in: Atom PDF