96435[BUGFIX] Show exception example inside the styleguide module
Commit message
Review
-
Code review CR +2 Done
- Oli Bartsch +2
- Wouter Wolters +1
- Garvin Hicking +1
- Josua Vogel +1
-
Verified V +2 Done
- Oli Bartsch +2
- Wouter Wolters +1
- Garvin Hicking +1
- Josua Vogel +1
- core-ci +1 CI
Issues 2
Files 4
- Build/tests/playwright/e2e/styleguide/exception.spec.tsnew+21 −0
- typo3/sysext/styleguide/Classes/Controller/ComponentsController.php+15 −2
- typo3/sysext/styleguide/Resources/Private/Language/locallang.xlf+11 −1
- typo3/sysext/styleguide/Resources/Private/Templates/Backend/Components/Exception.fluid.htmlnew+37 −0
Review log 1013
-
Oli Bartsch uploaded patch set 1 10/06/26, 20:52
-
Oli Bartsch rebased onto patch set 2 10/06/26, 21:20
-
Garvin Hicking commented on patch set 2 10/07/26, 05:13
Hhhhm. Not a fan: modifies the "actual" exception so that it doesn't really simulate the reality of an exception and might lag the actual exception handler or we forget. Also it increases complexity a lot. And I think its totally fine to not have the module cintent when testing the exception, as it can be restored through the left hand menu, and its an exception to test this ;) Not blocking. -
Oli Bartsch uploaded patch set 3 10/07/26, 06:29
-
Oli Bartsch commented on patch set 3 10/07/26, 06:34
Reply
I dropped the custom renderer. The component now loads an action in an iframe that throws the same StatusException as before. So the real, configured exception handler renders it (inline JS, status headers, logging), there's nothing to drift, and the diff is basically a template plus one action. The only change is that the module navigation survives. -
Garvin Hicking commented on patch set 3 CR +1 V +1 10/07/26, 06:58
Yes, this works for me 😊 -
core-ci voted on patch set 3 V +1 10/07/26, 09:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110288
-
core-ci voted on patch set 1 V -1 10/07/26, 09:57 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110280
-
core-ci voted on patch set 2 V +1 10/07/26, 09:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110281
-
Josua Vogel voted on patch set 3 CR +1 V +1 10/07/26, 13:42
-
Wouter Wolters voted on patch set 3 CR +1 V +1 10/07/26, 15:27
-
Oli Bartsch voted on patch set 3 CR +2 V +2 10/07/26, 15:44
-
Oli Bartsch merged patch set 4 10/07/26, 15:44