Issue Bug Closed

#99238False positive warning in Extension Scanner for getContentObject()

Christoph Schwob 12/01/22, 12:33 updated 08/04/24, 09:42

Description

Tested with TYPO3 11.5.19 and latest version of tt_address.

When assign data of a content element in a controller to the view, e.g. https://github.com/FriendsOfTYPO3/tt_address/blob/master/Classes/Controller/AddressController.php#L66 in extension scanner a weak warning is triggered because of the function “getContentObject()”, but $this->configurationManager->getContentObject() is not the same as TYPO3\CMS\Frontend\ContentObject\AbstractContentObject->getContentObject() mentioned in the ChangeLogs of v8 and v9.

Reviews 0

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

History 5

  1. Christoph Schwob changed is private 12/01/22, 12:46

  2. Benni Mack commented and changed status New Under Review is private 06/20/24, 10:34

    We’ve updated the parser in v13, can you recheck?

  3. Benni Mack changed status Under Review Needs Feedback 06/20/24, 10:34

  4. Garvin Hicking changed category 06/20/24, 12:04

  5. Georg Ringer commented and changed status Needs Feedback Closed 08/04/24, 09:42

    that is called a weak warning, the checker isnt something like phpstan & co, therefore false positives are flagged as weak