File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,11 @@ composer req --dev --no-progress -n -W -d /var/www/html/ \
2121
2222cd /var/www/html/
2323
24- mysql -udb -pdb -hdb -e " DROP DATABASE IF EXISTS test; CREATE DATABASE test;"
24+ mysql \
25+ --host=db \
26+ --user=db \
27+ --password=db \
28+ --execute=" DROP DATABASE IF EXISTS test; CREATE DATABASE test; GRANT ALL PRIVILEGES ON test.* TO 'db'@'%'; FLUSH PRIVILEGES;"
2529
2630vendor/bin/typo3 install:setup --database-user-name=db --database-user-password=db --database-host-name=db --database-name=test --use-existing-database --force
2731vendor/bin/typo3 configuration:set ' BE/debug' 1
@@ -33,6 +37,7 @@ vendor/bin/typo3 configuration:set 'MAIL/transport' 'smtp'
3337vendor/bin/typo3 configuration:set ' MAIL/transport_smtp_server' ' localhost:1025'
3438vendor/bin/typo3 configuration:set ' GFX/processor' ' ImageMagick'
3539vendor/bin/typo3 configuration:set ' GFX/processor_path' ' /usr/bin/'
40+ vendor/bin/typo3 backend:createadmin admin admin123
3641
3742sed -i -e " s/base: ht\//base: \//g" /var/www/html/config/sites/main/config.yaml
3843sed -i -e ' s/base: \/en\//base: \//g' /var/www/html/config/sites/main/config.yaml
Original file line number Diff line number Diff line change @@ -32,8 +32,9 @@ class Settings extends AbstractEncryptionUtility
3232 */
3333 public static function renderConfigurationArray (array $ settings , $ makeSettingsRenderable = false , ServerRequestInterface $ request = null )
3434 {
35+ // @todo: this should be adjusted to use currentContentObject attribute from server request with v13
3536 /** @var ContentObjectRenderer|null $contentObject */
36- $ contentObject = ( $ request ?? $ GLOBALS [ ' TYPO3_REQUEST ' ])?->getAttribute( ' currentContentObject ' );
37+ $ contentObject = self :: getConfigurationManagerInterface ()-> getContentObject ( );
3738 if ($ contentObject === null ) {
3839 // This is a workaround until custom validators contain the current request to pass on to the current method
3940 return $ makeSettingsRenderable ? self ::makeConfigurationArrayRenderable ($ settings ) : $ settings ;
You can’t perform that action at this time.
0 commit comments