87872[BUGFIX] Update FAL error handling in link browser
Commit message
Review
-
Code review CR +2 Done
- Christian Kuhn +2
- Fabian Schiller +1
- Garvin Hicking +1
-
Verified V +2 Done
- Christian Kuhn +2
- Fabian Schiller +1
- Garvin Hicking +1
- core-ci +1 CI
Issues 1
Files 1
Review log 2028
Show 23 earlier messages
-
Fabian Schiller uploaded patch set 1 01/24/25, 09:29
-
core-ci voted on patch set 1 V +1 01/24/25, 09:35 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72959
-
Fabian Schiller updated the commit message in patch set 2
V +101/24/25, 09:56
-
Fabian Schiller updated the commit message in patch set 3 01/24/25, 09:58
-
Fabian Schiller updated the commit message in patch set 4 01/24/25, 09:58
-
core-ci voted on patch set 2 V +1 01/24/25, 10:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72961
-
core-ci voted on patch set 3 V +1 01/24/25, 10:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72962
-
core-ci voted on patch set 4 V +1 01/24/25, 10:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/72963
-
Fabian Schiller updated the commit message in patch set 5
V +101/30/25, 07:03 -
core-ci voted on patch set 5 V +1 01/30/25, 07:09 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73184
-
Christian Kuhn commented on patch set 5 01/30/25, 12:50
-
Christian Kuhn commented on patch set 5 CR -1 01/30/25, 12:54
-1 for the time being, i think we need to have a closer look at further details. i'll see what i can do and will come back to this patch soon. -
Christian Kuhn commented on patch set 5 01/30/25, 18:30
Hey Fabian. Thanks for looking at a solution and the patch! I debugged and played around with different permission setups and user state and came to the solution we should simplify the construct a bit to prevent further issues in this area. I hope its ok to push a simplified version and would love if you could have a look at it and play around with it as well?AbstractResourceLinkHandler.php:190ReplyDoneAbstractResourceLinkHandler.php:201I fail to understand why the code tries to select *something* so agressively here at all: The last selected folder by a user is stored in $this->expandFolder. This is handled in above if ($this->expandFolder) (and has an issue itself). So "if (!$this->selectedFolder) {}" only kicks in, if either the last selected folder has been removed, permissions to it have been removed, or this is the very first use of the link browser. And *then* the code *still* tries to find something selected. This does not make sense. It is imho very fair to not select something different by guesswork but to let the use make a new selection. -> imho we should remove that if entirely, should sanitize the above if better, and simplify the code. -
Christian Kuhn uploaded patch set 6
CR -1V +101/30/25, 18:38 -
Christian Kuhn uploaded patch set 7 01/30/25, 18:39
-
Christian Kuhn voted on patch set 7 CR +1 V +1 01/30/25, 18:41
-
core-ci voted on patch set 6 V +1 01/30/25, 18:44 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73205
-
core-ci voted on patch set 7 V +1 01/30/25, 18:46 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73206
-
Garvin Hicking commented on patch set 7 CR +1 01/30/25, 19:15
I agree with the assumption, and think "this should work". I don't see a specific scenario here that could cause trouble, but any testing/feedback on this would be appreciated. Thanks for this initiative, Fabian! -
Fabian Schiller commented on patch set 7 CR +1 V +1 01/31/25, 06:11
Reply
Hi Christian, Thank you for debugging and providing the code suggestions! I’ve tested the changes, and everything seems to be working perfectly now. The 503 error is resolved, and there are no other errors in the logs. -
Fabian Schiller commented on patch set 7 01/31/25, 06:11
Hi Christian, Thank you for debugging and providing the code suggestions! I’ve tested the changes, and everything seems to be working perfectly now. The 503 error is resolved, and there are no other errors in the logs. -
Fabian Schiller commented on patch set 7 01/31/25, 06:18
Reply
Also thanks to you, Garvin, for testing and looking over it! -
Fabian Schiller updated the commit message in patch set 8
CR +1V +101/31/25, 09:17 -
Fabian Schiller commented on patch set 8 CR +1 V +1 01/31/25, 09:18
Just fixed a typo in the commit message -
Garvin Hicking voted on patch set 8 CR +1 V +1 01/31/25, 09:20
-
core-ci voted on patch set 8 V +1 01/31/25, 09:24 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/73248
-
Christian Kuhn voted on patch set 8 CR +2 V +2 01/31/25, 11:55
-
Christian Kuhn merged patch set 9 01/31/25, 12:21
AbstractResourceLinkHandler.php:190