[BUGFIX] Load all backend routes in installer controller

The routes added via ExtensionManagementUtility::addModule() are missing
when the UriBuilder/Router is used prior to ext_localconf loading.

Also for this particular case, multiple instances of the Router class
were created, as UriBuilder is loaded from the failsafe installtool
container instead of using an instance from the symfony container
(as created by LateBootService n loadExtLocalconfDatabaseAndExtTables).
This resulted in multiple routers being loaded with different sets of
routes.

This patch ensures that the routes are loaded from a UriBuilder/Router
instance that is fully populated with information from ext_localconf.
Therefore GeneralUtility::makeInstance() is avoided and
UriBuilder is fetched from the late booted container instead.

Resolves: #95806
Releases: main, 11.5
Change-Id: Id57bf09fb7798eac26dbdbc6ed89228c54fbafb9
68 jobs for main.72463.3 in 13 minutes and 27 seconds (queued for 7 seconds)
latest
Status Name Job ID Coverage
  Early
passed cgl pre-merge #807260

00:00:29

passed composer validate pre-merge #807261

00:00:35

 
  Main
passed acceptance application mariadb php 7.4 pre-merge 1/13 #807266

00:04:32

passed acceptance application mariadb php 7.4 pre-merge 10/13 #807275

00:05:19

passed acceptance application mariadb php 7.4 pre-merge 11/13 #807276

00:03:40

passed acceptance application mariadb php 7.4 pre-merge 12/13 #807277

00:04:18

passed acceptance application mariadb php 7.4 pre-merge 13/13 #807278

00:04:01

passed acceptance application mariadb php 7.4 pre-merge 2/13 #807267

00:04:24

passed acceptance application mariadb php 7.4 pre-merge 3/13 #807268

00:05:36

passed acceptance application mariadb php 7.4 pre-merge 4/13 #807269

00:06:07

passed acceptance application mariadb php 7.4 pre-merge 5/13 #807270

00:05:41

passed acceptance application mariadb php 7.4 pre-merge 6/13 #807271

00:02:39

passed acceptance application mariadb php 7.4 pre-merge 7/13 #807272

00:04:46

passed acceptance application mariadb php 7.4 pre-merge 8/13 #807273

00:05:40

passed acceptance application mariadb php 7.4 pre-merge 9/13 #807274

00:04:51

passed acceptance application mariadb php 8.1 pre-merge 1/13 #807279

00:03:15

passed acceptance application mariadb php 8.1 pre-merge 10/13 #807288

00:04:40

passed acceptance application mariadb php 8.1 pre-merge 11/13 #807289

00:03:53

passed acceptance application mariadb php 8.1 pre-merge 12/13 #807290

00:04:27

passed acceptance application mariadb php 8.1 pre-merge 13/13 #807291

00:05:37

passed acceptance application mariadb php 8.1 pre-merge 2/13 #807280

00:05:13

passed acceptance application mariadb php 8.1 pre-merge 3/13 #807281

00:03:54

passed acceptance application mariadb php 8.1 pre-merge 4/13 #807282

00:04:21

passed acceptance application mariadb php 8.1 pre-merge 5/13 #807283

00:07:13

passed acceptance application mariadb php 8.1 pre-merge 6/13 #807284

00:03:53

passed acceptance application mariadb php 8.1 pre-merge 7/13 #807285

00:04:52

passed acceptance application mariadb php 8.1 pre-merge 8/13 #807286

00:05:11

passed acceptance application mariadb php 8.1 pre-merge 9/13 #807287

00:05:16

passed acceptance install mariadb php 7.4 pre-merge #807262

00:01:30

passed acceptance install mysql php 8.1 pre-merge #807263

00:01:36

passed acceptance install postgres php 7.4 pre-merge #807264

00:01:29

passed acceptance install sqlite php 8.1 pre-merge #807265

00:01:23

passed annotations php 7.4 pre-merge #807292

00:03:32

passed functional deprecated mariadb 10.3 php 8.1 pre-merge #807298

00:01:29

passed functional deprecated postgres 10 php 7.4 pre-merge #807299

00:01:21

passed functional mariadb 10.3 php 8.0 pre-merge 1/6 #807300

00:04:12

passed functional mariadb 10.3 php 8.0 pre-merge 2/6 #807301

00:04:58

passed functional mariadb 10.3 php 8.0 pre-merge 3/6 #807302

00:09:21

passed functional mariadb 10.3 php 8.0 pre-merge 4/6 #807303

00:04:17

passed functional mariadb 10.3 php 8.0 pre-merge 5/6 #807304

00:03:45

passed functional mariadb 10.3 php 8.0 pre-merge 6/6 #807305

00:04:32

passed functional postgres 10 php 8.1 pre-merge 1/10 #807306

00:05:21

passed functional postgres 10 php 8.1 pre-merge 10/10 #807315

00:12:40

passed functional postgres 10 php 8.1 pre-merge 2/10 #807307

00:04:53

passed functional postgres 10 php 8.1 pre-merge 3/10 #807308

00:05:43

passed functional postgres 10 php 8.1 pre-merge 4/10 #807309

00:10:24

passed functional postgres 10 php 8.1 pre-merge 5/10 #807310

00:05:41

passed functional postgres 10 php 8.1 pre-merge 6/10 #807311

00:04:00

passed functional postgres 10 php 8.1 pre-merge 7/10 #807312

00:06:50

passed functional postgres 10 php 8.1 pre-merge 8/10 #807313

00:05:16

passed functional postgres 10 php 8.1 pre-merge 9/10 #807314

00:05:00

passed functional sqlite php 7.4 pre-merge 1/5 #807316

00:03:41

passed functional sqlite php 7.4 pre-merge 2/5 #807317

00:03:22

passed functional sqlite php 7.4 pre-merge 3/5 #807318

00:02:49

passed functional sqlite php 7.4 pre-merge 4/5 #807319

00:03:22

passed functional sqlite php 7.4 pre-merge 5/5 #807320

00:03:23

passed grunt clean pre-merge #807293

00:02:13

passed integration various pre-merge #807294

00:03:26

passed lint scss ts html pre-merge #807295

00:01:46

passed phpstan php 7.4 pre-merge #807296

00:01:44

passed phpstan php 8.0 pre-merge #807297

00:04:15

passed unit javascript pre-merge #807321

00:04:33

passed unit php 7.4 deprecated pre-merge #807322

00:00:57

passed unit php 7.4 pre-merge #807323

00:01:54

passed unit php 7.4 random pre-merge #807324

00:01:52

passed unit php 8.1 deprecated pre-merge #807325

00:00:57

passed unit php 8.1 pre-merge #807326

00:01:47

passed unit php 8.1 random pre-merge #807327

00:02:20