Bug #51572

Extensions order changing in LocalConfiguration.php during extensions update

Added by Fedir RYKHTIK over 7 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
Start date:
2013-08-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.1
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

During the update of an extension, the order of extensions is changing in LocalConfiguration.php.

Potentially this behaviour could break the site in production.

Example :

We've extended News extension, and after it's update from TER, News appears after news_custom_extension in LocalConfiguration.php

So, ext_tables.php and ext_localconf.php, which should override some News parameters are overrided itself.

In my case, I'd to manually reorder extension array after the extension update.

I suppose, the update should keep the order of installed extensions.


Related issues

Related to TYPO3 Core - Bug #57264: Extension manager fails to update extensions that are needed by other extensionsClosed2014-03-25

Actions
#1

Updated by Christian Kuhn over 7 years ago

not easy to solve: upgrade just deinstalls, fetchs and installs again.

#2

Updated by Fedir RYKHTIK over 7 years ago

Possible solutions : or to keep in the session the good order of previously installed extensions and to do reordering at the end of update procedure.
Or not to touch the variable of installed extensions at all.

#3

Updated by Markus Klein over 7 years ago

  • Is Regression set to No

Just a note on this. For 6.2 you should define a dependency on news. The package manager will properly load news before your extension.

#4

Updated by Nicole Cordes almost 7 years ago

  • Status changed from New to Accepted
  • Assignee set to Nicole Cordes
  • Target version set to next-patchlevel
#5

Updated by Gerrit Code Review almost 7 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31329

#6

Updated by Nicole Cordes over 6 years ago

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

Updated by Benni Mack over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF