Actions
Bug #64967
closedobjectType in repository is not working with subclasses
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-02-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
Hi,
I have a dataRepository which can be configured to deliver different objects.
For that i use the property objectType.
$this->dataRepository->setObjectType($this->settings['objectType']);
This is working with "normal" classes but when i choose a subclass it is not.
Example:
If the situation would be like this:
SubClass extends Class $this->dataRepository->setObjectType(\...\SubClass);
I get an SQL error when using the dataRepository:
Table 'database.tx_something_domain_model_subclass' doesn't exist
It looks like the mapping defined in ext_typoscript_setup is not respected.
Actions