Project

General

Profile

Actions

Bug #54576

closed

Make Extbase compatible to work with extensions >= TYPO3 4.5

Added by Stefan Froemken over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Category:
Extbase
Target version:
Start date:
2013-12-23
Due date:
% Done:

0%

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

Description

Hi Core-Team,

in Extbase and maybe in Fluid, too, you have conditions for special Classnames. Here is a sample as done in PersistentObjectConverter:

if (
    class_exists($targetType)
    && is_subclass_of($targetType, 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractValueObject')
) {

In my extension I have build in TYPO3 4.7 I have following in my domain model class:

class Tx_Telephonedirectory_Domain_Model_Employee extends Tx_Extbase_DomainObject_AbstractEntity {

Because of using "old" classnames in my extension your condition returns FALSE and __identity was NOT deleted from $source-Array and my FE-Search results in:

Exception while property mapping at property path "":The identity property "" is no UID.

I have also tried it with 0

Exception while property mapping at property path "":Object with identity "0" not found.

There are some more conditions in extbase and fluid with such conditions.

Stefan

Actions

Also available in: Atom PDF