Issue Feature Rejected

#105188Extbase DataMapper column UID for external database

Maxime DAL FABBRO 10/03/24, 15:05 updated 01/09/25, 20:38

Description

If you want to connect to an external database with Extbase Model you have to configure a table mapping between properties and fieldname (Extbase/Persistence/Classes.php).
But, to be able to use Extbase Model your table must have a UID fieldname because in typo3/sysext/extbase/Classes/Persistence/Generic/Mapper/DataMapper.php there is a direct reference to UID string name.
A possible solution would be to use the table mapping to map UID property to another fieldname (see attachment patch sample).

Reviews 0

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