Project

General

Profile

Actions

Bug #86676

closed

Extension configuration not updated both in TYPO3 9

Added by Aimeos no-lastname-given about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extension Manager
Start date:
2018-10-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

TYPO3 9 contains two sections in LocalConfiguration.php with extension settings:

    'EXT' => [
        'extConf' => [
            'aimeos' => 'a:8:{s:8:"siteCode";s:7:"default";s:7:"cleanDb";s:1:"1";s:11:"useDemoData";s:0:"";s:20:"useRealUrlAutoConfig";s:1:"1";s:9:"cacheName";s:5:"Typo3";s:6:"useAPC";s:1:"0";s:9:"apcPrefix";s:3:"t3:";s:12:"showPageTree";s:1:"0";}',
        ]
    ]

and
    'EXTENSIONS' => [
        'aimeos' => [
            'apcPrefix' => 't3:',
            'cacheName' => 'Typo3',
            'cleanDb' => '1',
            'showPageTree' => '0',
            'siteCode' => 'default',
            'useAPC' => '0',
            'useDemoData' => '',
            'useRealUrlAutoConfig' => '1',
        ],
    ]

Using the new ExtensionConfiguration class updates the EXT/extConf section but not the new EXTENSIONS section:

$object = $objectManager->get( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' );
$object->set( 'aimeos', 'useDemoData', '' );

Thus, the new "Settings -> Extension Configuration" panel shows the settings from EXTENSIONS which haven't been updated, so users see wrong values.

Actions #1

Updated by Georg Ringer about 6 years ago

  • Status changed from New to Needs Feedback

I can't reproduce that on current master, using the news extension and setting

 $object = $this->objectManager->get( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' );
 $object->set( 'news', 'tagPid', '91919' );

in the controller. 91919 is set for both new and old variant, also empty string works. Can you retry maybe in a clean installation?

Actions #2

Updated by Aimeos no-lastname-given about 6 years ago

Tested with new 9.5.1 and is fixed in that version. Thanks!

Actions #3

Updated by Georg Ringer about 6 years ago

  • Status changed from Needs Feedback to Resolved
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF