#49803Problems in overriding objects with new property mapper
Description
It seems there is a problem with overriding objects when using the new property mapper.
check this code
config.tx_extbase {
objects {
GeorgRinger\Testoverride\Domain\Model\Fo {
className = GeorgRinger\Testoverride\Domain\Model\Bar
}
}
}
if the model is used as argument, the “overlay” of Model Bar is missing.
A simple demo extension can be found at: http://montagmorgen.at/fileadmin/tmp/testoverride_0.0.0.zip
*Important:* the demo exts deactivates the new property mapper in ext_typoscript_setup.txt.
- Install extension and add plugin to a page
- Create a new record in the FE and fill all fields
- Disable the new property mapper and add a 2nd record
- Exception “#1297759968: Exception while property mapping at property path “”:Property “test” was not found in target object of type “GeorgRinger\Testoverride\Domain\Model\Fo”.” should be shown.
Reviews 5
- TYPO3_6-2 33331[BUGFIX] Fix unit tests for TypeConverter classes
- main 33330[BUGFIX] Fix unit tests for TypeConverter classes
- main 31920[BUGFIX] Property of alternative model implementation not found
- TYPO3_6-2 33327[BUGFIX] Property of alternative model implementation not found
- main 22135[BUGFIX] Fix overriding objects in new property mapper