Commit fe1345b
committed
ACPT-1599: Fixing DeploymentConfig resets & reloads every time new key that wasn't previously set
Fixing problem ACP2E-2198.
```
[Progress: 861 / 864]
Disabling Maintenance Mode:
In ResourceConnection.php line 162:
[DomainException]
Connection "default" is not defined
```
The root cause of problem is that the `Disabling Maintenance Mode` part of the install uses the first created DeploymentConfig object created in the process, which doesn't get updated, while before that runs, different part of the install that writes to the config is using the second DeploymentConfig object that was created by Laminas ServiceManager.
This commit causes Laminas' ServiceManager to use the same DeploymentConfig object as the first Magento ObjectManager used in the process, which resolves the issue seen in setup:install.1 parent 6309064 commit fe1345b
1 file changed
+11
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 21 | | |
27 | 22 | | |
28 | 23 | | |
29 | 24 | | |
| 25 | + | |
30 | 26 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments