91143[BUGFIX] Enhance error handling in YamlSource
Commit message
Review
-
Code review CR +2 Done
- Garvin Hicking +2
- Sven Liebert +1
- Elias Häußler +1
-
Verified V +2 Done
- Garvin Hicking +2
- Sven Liebert +1
- Elias Häußler +1
- core-ci +1 CI
Issues 1
Files 1
Review log 2633
Show 48 earlier messages
-
Josua Vogel uploaded patch set 1 10/17/25, 17:55
-
core-ci voted on patch set 1 V +1 10/17/25, 18:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86945
-
Josua Vogel uploaded patch set 2
V +110/17/25, 18:08 -
core-ci voted on patch set 2 V -1 10/17/25, 18:16 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86947
-
Josua Vogel uploaded patch set 3
V -110/17/25, 18:18 -
core-ci voted on patch set 3 V -1 10/17/25, 18:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86948
-
Josua Vogel uploaded patch set 4
V -110/17/25, 18:33 -
core-ci voted on patch set 4 V +1 10/17/25, 18:41 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/86949
-
Oli Bartsch commented on patch set 4 10/18/25, 08:45
does this only affect v14? -
Sven Liebert commented on patch set 4 10/18/25, 17:35
Reply
Looking into source code of v13, should be backported I think. -
Josua Vogel updated the commit message in patch set 5
V +110/19/25, 17:18 -
Josua Vogel commented on patch set 5 10/19/25, 17:19
Reply
You´re right, issue was created for v14, but it affects v13 too. I updated the commit message -
core-ci voted on patch set 5 V +1 10/19/25, 17:27 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87020
-
Sven Liebert voted on patch set 5 CR +1 V +1 10/19/25, 17:44
-
Sven Liebert commented on patch set 5 CR 0 V 0 10/19/25, 17:47
Could you also check v12? :) -
Josua Vogel commented on patch set 5 10/20/25, 05:40
Reply
v12 receives security updates (priority bug fixes) only and IMO this isn´t security related -
Josua Vogel commented on patch set 5 10/20/25, 05:40
resolve -
Josua Vogel commented on patch set 5 10/20/25, 05:41
Reply
resolved -
Sven Liebert voted on patch set 5 CR +1 V +1 10/20/25, 06:20
-
Garvin Hicking commented on patch set 5 10/23/25, 09:16
YamlSource.php:112Shouldn't this say "and can be written"? I feel a bit tingly about the use of "error_clear_last". Could you explain why you would argue that this should be done? Do you have a case where an error message may exist from prior operations? Just clearing an error that might not have been reported might cause issues with other try/catch statements. Just to be on the safe side I would opt to not clear the error, if it's not absolutely needed. -
Josua Vogel commented on patch set 5 10/23/25, 09:30
YamlSource.php:112ReplyMaybe there is a error message before :) but I will remove it, to prevent possible side effects -
Josua Vogel uploaded patch set 6
CR +1V +110/23/25, 09:37 -
Josua Vogel commented on patch set 6 10/23/25, 09:39
YamlSource.php:112ReplyDone -
core-ci voted on patch set 6 V +1 10/23/25, 09:45 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87395
-
Elias Häußler commented on patch set 6 10/23/25, 10:16
YamlSource.php:111I'm not sure if it's a good idea to expose the absolute path to editors. I currently receive a notification that looks like follows: > The form could not be saved: The file "EXT:styleguide/Resources/Private/Forms/allfields.form.yaml" could not be saved: Check that the file /var/www/html/typo3/sysext/styleguide/Resources/Private/Forms/allfields.form.yaml exists and can be written. I think it would be better to drop the path from the exception message, because it's already written to the notification. Something like this (as the resulting notification message) should be enough for editors to recognize that something went wrong: ```suggestion $errorMessage = $error['message'] ?? 'Check that the file exists and can be written.'; ``` -
Josua Vogel commented on patch set 6 10/23/25, 10:30
YamlSource.php:111ReplyFix applied. -
Josua Vogel commented on patch set 7
V +110/23/25, 10:30Published edit on patch set 6. -
core-ci voted on patch set 7 V +1 10/23/25, 10:38 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87402
-
Elias Häußler voted on patch set 7 CR +1 V +1 10/23/25, 10:40
-
Sven Liebert voted on patch set 7 CR +1 V +1 10/23/25, 11:14
-
Garvin Hicking commented on patch set 7 CR +1 V +1 10/23/25, 13:58
Will merge this tomorrow if there are no objections -
Garvin Hicking voted on patch set 7 CR +2 V +2 10/24/25, 17:05
-
Garvin Hicking merged patch set 8 10/24/25, 17:18