82192[TASK] Notify user about forced module redirect
Commit message
Review
-
Code review CR +2 Done
- Oli Bartsch +2
- Benjamin Franzke +1
- Achim Fritz +1
- Benni Mack +1
-
Verified V +2 Done
- Oli Bartsch +2
- Benjamin Franzke +1
- Achim Fritz +1
- Benni Mack +1
- core-ci +1 CI
Issues 2
Files 5
- typo3/sysext/backend/Classes/Controller/BackendController.php+47 −13
- typo3/sysext/backend/Classes/Middleware/BackendModuleValidator.php+52 −12
- typo3/sysext/backend/Resources/Private/Language/locallang.xlf+6 −0
- typo3/sysext/backend/Tests/Functional/Controller/BackendControllerTest.php+31 −0
- typo3/sysext/backend/Tests/Functional/Middleware/BackendModuleValidatorTest.php+32 −0
Review log 1013
-
Oli Bartsch uploaded patch set 1 12/15/23, 20:46
-
Oli Bartsch uploaded patch set 2 12/15/23, 20:51
-
core-ci voted on patch set 1 V +1 12/15/23, 20:51 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/50726
-
core-ci voted on patch set 2 V +1 12/15/23, 20:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/50727
-
Benni Mack commented on patch set 2 12/15/23, 22:31
Does not work for me: I set my startup module to "dashboard", uninstalled dashboard, also used a deeplink to dashboard, and re-logged in - no message appears. -
Oli Bartsch commented on patch set 2 12/18/23, 09:28
Reply
That's intended as the invalid module can not be resolved => because it is no longer registered after uninstalling the extension. The patch is about (temporary) missing access permissions for existing modules. For your use case, we could only tell the user that the currently defined start module value is invalid, but this is IMO another topic, because this behaviour did not change with #102665. -
Oli Bartsch uploaded patch set 3
V +112/19/23, 10:12 -
core-ci voted on patch set 3 V +1 12/19/23, 10:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/50802
-
Benjamin Franzke commented on patch set 3 CR +1 V +1 12/19/23, 10:34
As discussed on slack, I'd increase the notification timeout for INFO/NOTICE to at least 10 seconds (instead of 5), in order for such notifications to be readable without time pressure. But that's up for a different change. -
Achim Fritz voted on patch set 3 CR +1 V +1 12/20/23, 10:59
-
Benni Mack voted on patch set 3 CR +1 V +1 12/20/23, 11:03
-
Oli Bartsch voted on patch set 3 CR +2 V +2 12/20/23, 11:53
-
Oli Bartsch merged patch set 4 12/20/23, 11:53