Bug #34465

T3 4.6.4 BE - missing selection of "global" Ext. installation

Added by gert redlich over 1 year ago. Updated about 1 year ago.

Status:Accepted Start date:2012-03-02
Priority:Should have Due date:
Assignee:Jigal van Hemert % Done:

0%

Category:Backend User Interface
Target version:4.5.15
TYPO3 Version:4.6 Complexity:medium
PHP Version:5.3
Votes: 5 (View)

Description

If I enable "global installation" of extensions inside the Install Tool,
[allowGlobalInstall] yes
it has no funktion within the ext-manager.

Using "Upload extension file directly (.t3x)"
there is no global selection inside the selct box. (local install only)

OTHER: TYPO3_VERSION: 4.6.4
OTHER: PHP_VERSION : 5.3.8


Related issues

related to Documentation - Suggestion #35075: INSTALL.TXT: Permissions and ownership for typo3/ext are ... Needs Feedback 2012-03-21

History

Updated by Jigal van Hemert over 1 year ago

  • Status changed from New to Accepted

Updated by Jigal van Hemert over 1 year ago

So far I can only find that it is hardcoded in sysext/em/res/js/em_components.js :

///////////////////////////////////////////////////////
// Stores
///////////////////////////////////////////////////////

TYPO3.EM.LocationStore = new Ext.data.JsonStore({
fields : ['name', 'value'],
data : [ {name : 'Local (../typo3conf/ext/)', value: 'L'}
]
});

The values here should indeed be depending on the settings in localconf.php . If allowLocalInstall is disabled the Local option should also be removed, etc.

It seems that we need to add a method to tx_em_Connection_ExtDirectServer to build the list of locations and use this method for the store.

Updated by Jonny over 1 year ago

This is really annoying! I can't understand it...
This problem existed in v4.6.4 and is still present in 4.6.6.
It can't be that difficult to fix a missing value!?
Also I think, the drop down field in "Upload Extension [ from Computer ]" should not effect the installation process from the repository. It makes no sense and I searched 30 minutes until I found it in there :/

Updated by Kay Strobach about 1 year ago

even if i hate global installs on linked sources this should be fixed

Updated by Kay Strobach about 1 year ago

otherwise the global install should be simply removed from the installTool

Updated by Steffen Gebert about 1 year ago

  • Assignee deleted (gert redlich)
  • Priority changed from Must have to Should have

Adding the line to em_components.js helps. So the logic itself still seems to work.

As posted by Jigal, there needs to be some AJAX endpoint to return the values of the ExtJS dropdown.

Kay, you know ExtJS - could you do that, please?

Steffen

P.S: I removed gert redlich as Assignee, as it looks like he doesn't want to fix this. So please don't assign it to you, if you're not working on a fix!

Updated by Jigal van Hemert about 1 year ago

  • Assignee set to Jigal van Hemert
  • Target version set to 4.5.15
  • Complexity set to medium

Also available in: Atom PDF