Project

General

Profile

Actions

Bug #44665

closed

Configuration Utility loses extension key

Added by Francois Suter over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Extension Manager
Target version:
Start date:
2013-01-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

The EM's ConfigurationUtility::getCurrentConfiguration() method looks for the extension key at the wrong place. Rather than using the key it receives as a parameter, it tries to get it from $GLOBALS['TYPO3_LOADED_EXT'] where it does not exist (indeed it would be redundant information). As a result trying to read the current configuration always returns an empty array.

Notes:

  1. this is a first, trivial patch. Another one will be coming later, this is not the only error in this method.
  2. this bug is only visible when you update an extension's configuration, not when you simple display it.

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #44781: ConfigurationUtility->getCurrentConfiguration only delivers default configurationClosed2013-01-24

Actions
Actions #1

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17600

Actions #2

Updated by Gerrit Code Review over 11 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17601

Actions #3

Updated by Francois Suter over 11 years ago

Just a few more details about when this bug happens: it happens upon updating an extension's configuration when there are configuration sub-categories. The EM displays one submit button per subcategory and sends only that subcategory's data in the AJAX request to save the configuration. Since the current configuration is not read properly upon saving, values in the other subcategories are lost (= set back to default). This bug is invisible when there are no subcategories, because all current values are passed in the AJAX call.

Actions #4

Updated by Francois Suter over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF