Bug #65117

Extensionmanager: Update of Extension with higher TYPO3-dependency not possible

Added by Gernot Ploiner almost 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Must have
Category:
Extension Manager
Target version:
Start date:
2015-02-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Stabilization Sprint

Description

In TYPO3 6.2.x you can not update an Extensions to any higher Version, if there is an Extension-Version for TYPO3 7.x

Example with following Templavoila-Versions:
1.8 for TYPO3 4.x
1.9 for TYPO3 4.5-6.2
2.0 for TYPO3 7.x

We used Templavoila 1.8 in a TYPO3 4.5 System. After a TYPO3-Upgrade to 6.2, we wanted to upgrade Templavoila to 1.9. But in the Extensionmanager Templavoila 1.8 is shown without Update-Button. So it looks like, that the newest Version of Templavoila is installed already.

Workaround: Download Templavoila 1.9 from typo3.org and upload it in Extensionmanager manually.


Files

Zwischenablage01.jpg (34.1 KB) Zwischenablage01.jpg Screenshot patch1 Gernot Ploiner, 2015-02-23 15:29

Related issues

Related to TYPO3 Core - Bug #65341: Extensionmanager update-button missingClosedAlexander Opitz2015-02-25

Actions
Related to TYPO3 Core - Bug #66152: Distribution: Can not install distributions that depend on older extensionsRejected2015-03-30

Actions
Related to TYPO3 Core - Bug #66410: EM: Dependency errors are lost as a side-effect of sub-dependency checkClosed2015-04-14

Actions
Related to TYPO3 Core - Bug #66858: Extensionmanager: Update of Extension with higher TYPO3-dependency works wrongClosedAlexander Opitz2015-05-08

Actions
#1

Updated by Alexander Opitz almost 6 years ago

  • Status changed from New to Accepted

Same issue here.

#2

Updated by Alexander Opitz almost 6 years ago

  • Status changed from Accepted to In Progress
  • Assignee set to Alexander Opitz
#3

Updated by Alexander Opitz almost 6 years ago

There is more then this issue, till yet we only handle to update to highest available version.

#4

Updated by Alexander Opitz almost 6 years ago

HowTo test the patch with master:

As there is no extension with a version which has a lower requirement higher then 7.1 you need to manipulate the database a bit to test this. Example for extension "news".

1.) Set lowest requirement of latest version of your example extension to 8.0.0

UPDATE `typo3_master`.`tx_extensionmanager_domain_model_extension` SET `serialized_dependencies` = 'a:1:{s:7:"depends";a:1:{s:5:"typo3";s:13:"8.0.0-8.99.99";}}' WHERE `tx_extensionmanager_domain_model_extension`.`extension_key` = 'news' AND `tx_extensionmanager_domain_model_extension`.`version` = '3.1.0' ;
// Set 3.0.1 as kompatible till 7.99.99
UPDATE `typo3_master`.`tx_extensionmanager_domain_model_extension` SET `serialized_dependencies` = 'a:1:{s:7:"depends";a:1:{s:5:"typo3";s:12:"6.2.2-7.99.99";}}' WHERE `tx_extensionmanager_domain_model_extension`.`extension_key` = 'news' AND `tx_extensionmanager_domain_model_extension`.`version` = '3.0.1' ;

2.) Set the version of your example extension to 2 versions lower then latest one.

edit ext_emconf.php of news extension and set version to 3.0.0.

3.) Look into Extension manager, no updates shown for your example extension.

4.) Apply patch and look to your example extension, now you should see the next version (which can be applied to master) but not your manipulated latest version (for news it should be 3.0.1).

5.) Try updating to this version (3.0.1) ... you only should see the comments for this updates and after applying you should be on that updateable version (for news it should be 3.0.1).

If this works all is fine.

#5

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37099

#6

Updated by Gernot Ploiner almost 6 years ago

The patch don't work on my System :-(
I upgraded a TYPO3 4.2 to 4.5 and 6.2. Then i applied the patch. Now the Extensionmanagers CSS is missing. And the Update-Icon serves still an update to TV 2.0.0 (only for TYPO3 7.x).

#7

Updated by Alexander Opitz almost 6 years ago

This patch is against master, I can't give you help if you patch some other systems with this patch.

#8

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37099

#9

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37099

#10

Updated by Gerrit Code Review almost 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37099

#11

Updated by Gerrit Code Review almost 6 years ago

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

#12

Updated by Xavier Perseguers almost 6 years ago

  • Target version changed from next-patchlevel to 6.2.12
  • Sprint Focus set to Stabilization Sprint
#13

Updated by Alexander Opitz almost 6 years ago

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

Updated by Xavier Perseguers almost 6 years ago

  • Status changed from Resolved to Under Review
  • % Done changed from 100 to 80

Not ready until merged in 6.2 as well

#15

Updated by Alexander Opitz almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 80 to 100
#16

Updated by Riccardo De Contardi about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF