Issue Bug Closed

#65865Extbase: Call to a member function hasIdentifier() on null

Christoph Lehmann 03/20/15, 12:51 updated 10/13/16, 10:10

Description

typo3_src-6.2.9/typo3/sysext/extbase/Classes/Persistence/Repository.php ? in handleFatalError

    public function findByIdentifier($identifier) {
...
        if ($this->session->hasIdentifier($identifier, $this->objectType)) {
            $object = $this->session->getObjectByIdentifier($identifier, $this->objectType);
        } else {

It is not checked if $this->session exists…

Reviews 0

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