Project

General

Profile

Actions

Bug #65865

closed

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

Added by Christoph Lehmann over 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-03-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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...

Actions #1

Updated by Christoph Lehmann over 9 years ago

It's also in 6.2.11

Actions #2

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from New to Needs Feedback

Hi and sorry for the very late answer;

as far as I can see the lines cited in the description are still present on 6.2.25 but absent on latest master.
We need more information about how you run into the problem and how to reproduce it; a stack trace of the error for example would be helpful

Thank you

Actions #3

Updated by Christoph Lehmann over 8 years ago

I can't remember under which cirumstances the error occured ;-(

Let's close the issue...

Actions #4

Updated by Riccardo De Contardi about 8 years ago

  • Status changed from Needs Feedback to Closed

sorry for my late answer. Thank you for your feedback, closing it.

If someone has more information about how to reproduce or experience the issue again, please reopen it or add a new issue with a reference to this one.

Thank you.

Actions

Also available in: Atom PDF