Bug #88938

wrong class statement for logger initialization

Added by Anja Leichsenring 2 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
-
Start date:
2019-08-08
Due date:
% Done:

100%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

the patch for ##88775 and #87820 calls CLASS in the abstract class, which leads to the initialization of the logger always with the abstract class instead the calling child.


Related issues

Related to TYPO3 Core - Bug #88775: logger in ApcuBackend is not instantiated Resolved 2019-07-16
Related to TYPO3 Core - Bug #87820: Logger not instanciated in cache backend Resolved 2019-03-01

Associated revisions

Revision 0fc8cc94 (diff)
Added by Anja Leichsenring 2 months ago

[BUGFIX] Use calling class name for logger initialization

Static class binding via `static::class` leads to the correct class name
in inherited classes.

Resolves: #88938
Relates: #88775
Relates: #87820
Releases: master, 9.5
Change-Id: I9a866fa26d3e7100d0db694237142f1449c68391
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61479
Tested-by: Markus Klein <>
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Markus Klein <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Helmut Hummel <>
Reviewed-by: Andreas Fernandez <>

Revision b6b8f6e4 (diff)
Added by Anja Leichsenring 2 months ago

[BUGFIX] Use calling class name for logger initialization

Static class binding via `static::class` leads to the correct class name
in inherited classes.

Resolves: #88938
Relates: #88775
Relates: #87820
Releases: master, 9.5
Change-Id: I9a866fa26d3e7100d0db694237142f1449c68391
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61462
Tested-by: TYPO3com <>
Tested-by: Andreas Fernandez <>
Reviewed-by: Andreas Fernandez <>

History

#1 Updated by Anja Leichsenring 2 months ago

  • Related to Bug #88775: logger in ApcuBackend is not instantiated added

#2 Updated by Anja Leichsenring 2 months ago

  • Related to Bug #87820: Logger not instanciated in cache backend added

#3 Updated by Gerrit Code Review 2 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61479

#4 Updated by Gerrit Code Review 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61479

#5 Updated by Gerrit Code Review 2 months ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61462

#6 Updated by Anja Leichsenring 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

#7 Updated by Gerrit Code Review 2 months ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61462

#8 Updated by Anja Leichsenring 2 months ago

  • Status changed from Under Review to Resolved

Also available in: Atom PDF