53202[TASK] Migrate cHash configuration on silent upgrade wizard
Commit message
Review
-
Code review CR +2
- Christian Kuhn +2
- Nathan Boiron +1
-
Verified V +2
- Christian Kuhn +2
- Nathan Boiron +1
- TYPO3com +1 CI
Issues 1
Files 9
- typo3/sysext/core/Classes/Core/Bootstrap.php+0 −21
- typo3/sysext/core/Configuration/DefaultConfiguration.php+7 −5
- typo3/sysext/core/Configuration/DefaultConfigurationDescription.yaml1+18 −12
- typo3/sysext/core/Documentation/Changelog/master/Important-81568-MigrateChashConfiguration.rstnew+45 −0
- typo3/sysext/frontend/Tests/Unit/Page/CacheHashCalculatorTest.php+2 −2
- typo3/sysext/install/Classes/Service/LocalConfigurationValueService.php5+97 −42
- typo3/sysext/install/Classes/Service/SilentConfigurationUpgradeService.php+56 −0
- typo3/sysext/install/Resources/Private/Partials/Action/Tool/Settings/LocalConfiguration/SubSection.html+1 −1
- typo3/sysext/install/Tests/Unit/Service/SilentConfigurationUpgradeServiceTest.php+72 −0
Review log 2536
Show 711 earlier messages
-
Benni Mack uploaded patch set 1 06/13/17, 15:19
-
TYPO3com voted on patch set 1 V +1 06/13/17, 15:30 Completed build in 11m 05s on Tue, 13 Jun, 05:30 PM Test Summary: 56499 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-12553
-
Benni Mack uploaded patch set 2 09/06/17, 05:16
-
TYPO3com voted on patch set 2 V -1 09/06/17, 05:33 Completed build in 16m 07s on Wed, 6 Sep, 07:33 AM Test Summary: 10 of 58442 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14244
-
Frans Saris commented on patch set 2 09/06/17, 09:46
So we need a way to configure a value of type string[] in the install tool -
Romain Canon commented on patch set 2 09/07/17, 16:35
Currently resolving conflicts, will push asap. -
Romain Canon uploaded patch set 3 09/07/17, 17:01
-
TYPO3com voted on patch set 3 V +1 09/07/17, 17:18 Completed build in 17m 16s on Thu, 7 Sep, 07:18 PM Test Summary: 58125 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14346
-
Romain Canon commented on patch set 3 09/07/17, 17:38
I'll be working on the values editing in the install tool, stay tuned. -
Romain Canon uploaded patch set 4 09/08/17, 10:22
-
TYPO3com voted on patch set 4 V -1 09/08/17, 10:42 Completed build in 20m 03s on Fri, 8 Sep, 12:42 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14434
-
Benni Mack commented on patch set 4 09/08/17, 11:22
you can now remove that line (and the "Only downside" line above) Can you also add a RST file?DefaultConfigurationDescription.yaml:444the following lines need to be removed now.LocalConfigurationValueService.php:63you can add a return annotations ": array" -
Romain Canon commented on patch set 1 09/08/17, 11:29
Working on the unit test, I'll push a patch with what Benni previously asked. -
Romain Canon uploaded patch set 5 09/08/17, 11:45
-
TYPO3com voted on patch set 5 V -1 09/08/17, 12:03 Completed build in 18m 02s on Fri, 8 Sep, 02:03 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14454
-
Romain Canon uploaded patch set 6 09/08/17, 12:32
-
TYPO3com voted on patch set 6 V -1 09/08/17, 12:33 Completed build in 01m 28s on Fri, 8 Sep, 02:33 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14468
-
Benni Mack commented on patch set 7 09/08/17, 12:44
Published edit on patch set 6. -
TYPO3com voted on patch set 7 V -1 09/08/17, 12:44 Completed build in 32s on Fri, 8 Sep, 02:44 PM Test Summary: No tests found Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14476
-
Benni Mack uploaded patch set 8 09/08/17, 12:44
-
TYPO3com voted on patch set 8 V +1 09/08/17, 13:00 Completed build in 15m 00s on Fri, 8 Sep, 03:00 PM Test Summary: 56833 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14477
-
Matthias Vogel voted on patch set 8 CR +1 09/08/17, 13:55
-
Nathan Boiron uploaded patch set 9 09/08/17, 14:18
-
Matthias Vogel voted on patch set 9 CR +1 09/08/17, 14:20
-
Romain Canon voted on patch set 9 CR +1 V +1 09/08/17, 14:32
-
TYPO3com voted on patch set 9 V +1 09/08/17, 14:35 Completed build in 16m 55s on Fri, 8 Sep, 04:35 PM Test Summary: 56833 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14518
-
Christian Kuhn commented on patch set 9 CR -1 09/08/17, 15:04
LocalConfigurationValueService.php:105please at least add an @todo that we're currently displaying array values as comma separeted list which will boom if a value has a comma. this needs further works, later. -
Romain Canon commented on patch set 9 09/08/17, 15:12
LocalConfigurationValueService.php:105ReplyActually the only way to get there is that the entry "description" is marked as an array type (configured in the new YAML file), so the actual value will always be an array. The ternary condition is here to prevent old string values that were migrated to array to actually make the implode break. It also prevents corrupted data from any external configuration change to make it break. For instance, an old configuration that is marked as an array and looks like: ``` $GLOBALS['TYPO3_CONF_VARS']['my_conf'] = 'foo,bar'; ``` Will be transparently transformed to: ``` $GLOBALS['TYPO3_CONF_VARS']['my_conf'] = ['foo' ,'bar']; ``` -
Christian Kuhn commented on patch set 9 09/08/17, 21:24
LocalConfigurationValueService.php:105Replyyeah, fine. and it works for this case. but it can't be the final solution. thus, i only request an @todo comment here pointing out that this solution should be improved later. -
Romain Canon uploaded patch set 10 09/09/17, 08:39
-
Romain Canon commented on patch set 9 09/09/17, 08:40
LocalConfigurationValueService.php:105ReplyDone -
Nathan Boiron voted on patch set 10 CR +1 V +1 09/09/17, 08:50
-
TYPO3com voted on patch set 10 V -1 09/09/17, 09:05 Completed build in 25m 17s on Sat, 9 Sep, 11:05 AM Test Summary: 1 of 57182 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14614
-
TYPO3com voted on patch set 10 V +1 09/09/17, 11:13 Completed build in 2h 58m 19s on Sat, 9 Sep, 01:13 PM Test Summary: 56823 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14614
-
Christian Kuhn voted on patch set 10 CR +2 V +2 09/09/17, 11:29
-
Gerrit merged patch set 10 09/09/17, 11:29