Function getObjectByIdentifier of Generic PersistenceManager not complete
$objectData = $this->backend->getObjectDataByIdentifier($identifier);
the method call to `getObjectDataByIdentifier` must also send the $objecttype
$objectData = $this->backend->getObjectDataByIdentifier($identifier,$objectType);
why is the $objectType default set as `NULL` and not just a required argument?
Updated by Karsten Dambekalns almost 10 years ago
True, it should be passed to the backends, in case it is needed there.
The reason it is optional is that in Generic persistence we did not need it, but we do need it for Doctrine. So we made it optional and check it as needed in the implementation.