87784[BUGFIX] Allow extbase persistence layer without ServerRequest
Commit message
Review
-
Code review CR +2 Done
- Christian Kuhn +2
- Oliver Klee +1
- Garvin Hicking +1
- Benni Mack +1
-
Verified V +2 Done
- Christian Kuhn +2
- Garvin Hicking +1
- Benni Mack +1
- core-ci +1 CI
Issues 1
Files 7
- typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php+40 −0
- typo3/sysext/extbase/Classes/Configuration/Exception/NoServerRequestGivenException.php2new+25 −0
- typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php2+10 −1
- typo3/sysext/extbase/Classes/Configuration/ConfigurationManagerInterface.php+2 −0
- typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php3+41 −10
- typo3/sysext/extbase/Classes/Persistence/Generic/QueryFactory.php+18 −19
- typo3/sysext/extbase/Tests/Unit/Persistence/Generic/QueryFactoryTest.php+7 −22
Review log 2934
Show 79 earlier messages
-
Alexander Schnitzler uploaded patch set 1 01/16/25, 18:47
-
Alexander Schnitzler wrote 01/16/25, 18:49
Topic set to extbase -
Alexander Schnitzler commented on patch set 1 01/16/25, 18:51
@lolli@schwarzbu.ch I think that's really it. Didn't find any other places which should fail gracefully. If you found anything else, please let me know. -
core-ci voted on patch set 1 V -1 01/16/25, 18:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72574
-
Oliver Klee commented on patch set 1 01/16/25, 20:17
NoServerRequestGivenException.php:20Maybe make it final and readonly? -
Alexander Schnitzler uploaded patch set 2
V -101/17/25, 06:48 -
Alexander Schnitzler commented on patch set 2 01/17/25, 06:49
NoServerRequestGivenException.php:20Replyreadonly isn't possible due to its parent class. But it's final now. -
core-ci voted on patch set 2 V -1 01/17/25, 06:54 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72595
-
Andreas Kienast commented on patch set 2 01/17/25, 07:03
ConfigurationManager.php:81`Exception\` is superfluous as the exception class is imported anyway. That's also why the CGL check fails.
-
Alexander Schnitzler uploaded patch set 3
V -101/17/25, 07:06 -
core-ci voted on patch set 3 V +1 01/17/25, 07:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72596
-
Oliver Klee voted on patch set 3 CR +1 01/17/25, 09:08
-
Oliver Klee updated the commit message in patch set 4
CR +1V +101/17/25, 09:34 -
Oliver Klee voted on patch set 4 CR +1 01/17/25, 09:34
-
core-ci voted on patch set 4 V +1 01/17/25, 09:42 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72608
-
Alexander Schnitzler commented on patch set 4 01/17/25, 10:17
ConfigurationManager.php:81ReplyDone -
Garvin Hicking commented on patch set 4 01/17/25, 15:26
Backend.php:873Should we maybe create a central method like 'setupDefaultFrameworkConfiguration' that returns a stub config here? That would make changes to the default maybe more streamlined in the future. And we could set both indices (storagePid+updateReferenceIndex) at one central place? (I wonder if those defaults should maybe even be retrieved via a system.php config default array....?) -
Alexander Schnitzler commented on patch set 4 01/17/25, 17:25
Backend.php:873ReplyChristian and me actually did have other plans here, namely to remove both configuration values alltogether in the future. The reference index should always be updated and the storage pid should be actively maintained by the users. -
Garvin Hicking commented on patch set 4 01/17/25, 20:10
Backend.php:873ReplyAck. I'd say having a central method for that and deprecating it later would make it easier to find them again, but I fully trust in your decission, so resolving this comment. Thanks for working on it, every work on extbase makes me happy :-) -
Alexander Schnitzler commented on patch set 4 01/23/25, 09:41
Just found another place where the new behaviour is problematic. I run a very big site with an API, which is independent from 99% of the core, so it's placed very early in the middleware stack. This is not longer possible with an Extbase persistence depending on a fully bootstrapped frontend with TypoScript and all. It's just another example where people run into issues upgrading to 13.4, when things ran smoothly up until 12.4. I know a lot of projects that run an API that early. It seems like an edge case for all those who use TYPO3 purely as CMS, but those that use it as a framework might experience this issue. -
Christian Kuhn commented on patch set 4 01/28/25, 16:45
Reply
i disagree with this assessment. -
Christian Kuhn commented on patch set 4 01/28/25, 16:55
Reply
I added a note to the issue on why I disagree with this. -
Christian Kuhn commented on patch set 4 01/29/25, 13:31
i think we should go with the patch, but i'd like to rephrase the commit message a bit. i hope its ok to push an adapted version. -
Garvin Hicking voted on patch set 4 CR +1 01/29/25, 14:58
-
Christian Kuhn uploaded patch set 5
CR +1V +101/29/25, 15:44 -
Christian Kuhn commented on patch set 5 01/29/25, 15:50
note the v13 backport should be slightly different, i'll take care if the main version is upvoted. -
core-ci voted on patch set 5 V +1 01/29/25, 15:50 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73145
-
Christian Kuhn commented on patch set 5 CR +1 V +1 01/29/25, 15:58
please keep merge & backport with me. -
Benni Mack commented on patch set 5 CR +1 V +1 01/29/25, 16:01
please go ahead @lolli@schwarzbu.ch -
Garvin Hicking commented on patch set 5 CR +1 V +1 01/29/25, 16:08
Thank you! -
Oliver Klee voted on patch set 5 CR +1 01/29/25, 16:09
-
Christian Kuhn voted on patch set 5 CR +2 V +2 01/29/25, 16:34
-
Christian Kuhn merged patch set 6 01/29/25, 16:34
-
Christian Kuhn commented on patch set 6 01/29/25, 16:35
Reply
Done