91307[BUGFIX] Detect `FIRST_INSTALL` in project path as well
Commit message
Review
-
Code review CR +2 Done
- Stefan Bürk +2
- Garvin Hicking +1
-
Verified V +2 Done
- Stefan Bürk +2
- Garvin Hicking +1
- core-ci +1 CI
Issues 1
Files 2
Review log 2534
Show 69 earlier messages
-
morgane garcia uploaded patch set 1 10/28/25, 11:57
-
morgane garcia updated the commit message in patch set 2 10/28/25, 12:00
-
core-ci voted on patch set 1 V +1 10/28/25, 12:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87811
-
core-ci voted on patch set 2 V +1 10/28/25, 12:12 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87813
-
Stefan Bürk commented on patch set 2 10/28/25, 20:59
-
Stefan Bürk commented on patch set 2 10/28/25, 21:00
EnableFileService.php:239ReplyForget it ... install tool enabled does not do the scandir approach to mitigate casing issues I guess .... -
morgane garcia rebased onto patch set 3
V +110/29/25, 08:15 -
core-ci voted on patch set 3 V +1 10/29/25, 08:25 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87911
-
Benni Mack updated the commit message in patch set 4
V +110/29/25, 09:06
-
Benni Mack commented on patch set 4 10/29/25, 09:06
EnableFileService.php:239ReplyIs your comment still applicable? Or can it be resolved? -
core-ci voted on patch set 4 V +1 10/29/25, 09:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/87918
-
Stefan Bürk commented on patch set 4 10/30/25, 11:40
EnableFileService.php:239ReplySorry for the confusion, I'll try now to resolve the confusion. I'd say that in general we should revisit the implementation for the `FIRST_INSTALL` in general and adopt more the granular and install mode depending approach used for the `ENABLE_INSTALL_TOOL` location handling. But that would be out of scope for a bugfix now. The current try to fix this is not really clean in my eyes, so please correct me if I'm wrong. * `getFirstInstallFilePaths()` was ment to return only file basename variants of `FIRST_INSTALL` to mitigate casing issues, expected under the public path. * Method `removeFirstInstallFile()` prefixes the filename with the public path (again) to the result of `getFirstInstallFilePaths()` * `isFirstInstallAllowed()` only checks if there is a "result" because it's clear that the files exists returned by `getFirstInstallFilePaths()` * This change modifies `getFirstInstallFilePaths()` to mix findins of different paths but only return the filename without path. For example, if a `./FIRST_INSTALL` is set in the project root and a `public/first_install` exists it would return `['FIRST_INSTALL', 'first_install']` and it needs to be done/checked again in the `removeFirstInstallFile()` which base folder contains that entry to delete them all. Introducing additional is_file calls etc. What I would suggest as a doable modification: * Keep the scannig of the two different folders for the file in `getFirstInstallFilePaths()` but ensure that the absolute path is returned in the array. * `removeFirstInstallFile()` should be modified based on the current main state to not prefix with the public path anymore and take the result as a absolute paths. I hope that make's it clear what needs to be adjusted from my point of view. Otherwise I can push it later what I mean. Or am I'm wrong here ? -
Stefan Bürk uploaded patch set 5
V +110/31/25, 13:28 -
Stefan Bürk commented on patch set 5 10/31/25, 13:31
EnableFileService.php:239ReplyPushed the changes based on my suggestion already. However, tests needs to be modified to make them executed tests. Resolving this comment now as solved.EnableFileServiceTest.php:82These tests are never executed, functional tests are non-composer instances by design and currently they are use-less. Need to have a look into that how to make them use-full and testing that, needs more work. -
core-ci voted on patch set 5 V +1 10/31/25, 13:37 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88259
-
Christian Hernmarck commented on patch set 5 10/31/25, 14:06
Hi guys I wonder why I receive updates to this issue. It seems its this line in the description "Resolves: (#) 91307" but I don't see any connection to Bug No 91307 .... Am I wrong? Sorry fo writing here.... -
Stefan Bürk commented on patch set 5 10/31/25, 14:12
Reply
Because you are a `CC` reciepent. Not sure who added you there, but you can simply remove yourself from it. -
Stefan Bürk commented on patch set 5 10/31/25, 14:13
Reply
At least for gerrit mails. Forge mails are because patchsets adds comments to the forge issue and you may recieve ticket update mails from forge depending on your notification settings there. -
Stefan Bürk commented on patch set 5 10/31/25, 14:15
Reply
Sorry, I must correct myself. You are right, that is the wrong forge issue number , going to update it with the correct one once I found it. Sorry for the noice. -
Stefan Bürk updated the commit message in patch set 6
V +110/31/25, 14:18 -
core-ci voted on patch set 6 V +1 10/31/25, 14:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88263
-
Stefan Bürk uploaded patch set 7
V +111/10/25, 09:46 -
core-ci voted on patch set 7 V +1 11/10/25, 09:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88812
-
Stefan Bürk updated the commit message in patch set 8
V +111/10/25, 10:17 -
Stefan Bürk commented on patch set 8 11/10/25, 10:18
EnableFileServiceTest.php:82ReplyDone -
core-ci voted on patch set 8 V +1 11/10/25, 10:28 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88820
-
Stefan Bürk voted on patch set 8 CR +1 V +1 11/10/25, 10:41
-
Garvin Hicking commented on patch set 8 11/10/25, 11:49
EnableFileServiceTest.php:67shouldn't this be $projectPath? $publicPath is already rmdir'd in line 53 -
Stefan Bürk commented on patch set 9
CR +1V +111/10/25, 12:03Published edit on patch set 8. -
Stefan Bürk commented on patch set 9 11/10/25, 12:04
EnableFileServiceTest.php:67ReplyGood catch. Done. -
core-ci voted on patch set 9 V +1 11/10/25, 12:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/88837
-
Garvin Hicking voted on patch set 9 CR +1 V +1 11/10/25, 13:27
-
Stefan Bürk voted on patch set 9 CR +2 V +2 11/10/25, 19:16
-
Stefan Bürk merged patch set 10 11/10/25, 19:26
EnableFileService.php:239