Bug #18613

Extension configuration options are not always shown

Added by Jeff Segars over 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-04-12
Due date:
% Done:

0%

TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When importing an extension from the TER, any required database updates are shown. Externsion configuration options are not shown, however, and there's not a message that configuration options will be available upon install.

The attached screenshot from Steffen shows what the this looks like during installation of wec_map, which does have extension configuration options.

(issue imported from #M8108)

install_wec_map.png View (17.6 KB) Administrator Admin, 2008-04-12 17:26

20080412_EM_extconf.diff View (3.71 KB) Administrator Admin, 2008-04-12 17:37

em_install_configuration.diff View (855 Bytes) Administrator Admin, 2008-06-09 13:23

History

#1 Updated by Jeff Segars over 12 years ago

This behavior was introduced in changeset 2643, which adds user function support in the Constants Editor.

As part of a cleanup to the updatesForm() method, the processing was moved out of updatesForm() and into another method. The updatesForm() method is called from several locations, however, so this caused the missing extension configuration.

I've reverted updatesForm back to its original code and moved the check for whether the extension is installed into tsStyleConfigForm(), which is the actual method that renders the config form and extra fields.

#2 Updated by Ingo Renner over 12 years ago

committed to SVN on behalf of Jeff

#3 Updated by Steffen Kamper over 12 years ago

It's still missing that the user is "forced" to update the configuration.

Now i debugged it, which wasn't an easy task, and i think i found a solution.

So normally when you install the extension, do the database updates, you are redirected to the last view (extension list, import, ...)

Now i check before redirection if there is an configuration, and if yes i redirect to the single view of the extension containing the configuration form.

Please have a look to the patch and test it

Also available in: Atom PDF