Bug #65117
closedExtensionmanager: Update of Extension with higher TYPO3-dependency not possible
100%
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
Updated by Alexander Opitz over 9 years ago
- Status changed from Accepted to In Progress
- Assignee set to Alexander Opitz
Updated by Alexander Opitz over 9 years ago
There is more then this issue, till yet we only handle to update to highest available version.
Updated by Alexander Opitz over 9 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.
Updated by Gerrit Code Review over 9 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
Updated by Gernot Ploiner over 9 years ago
- File Zwischenablage01.jpg Zwischenablage01.jpg added
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).
Updated by Alexander Opitz over 9 years ago
This patch is against master, I can't give you help if you patch some other systems with this patch.
Updated by Gerrit Code Review over 9 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
Updated by Gerrit Code Review over 9 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
Updated by Gerrit Code Review over 9 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
Updated by Gerrit Code Review over 9 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
Updated by Xavier Perseguers over 9 years ago
- Target version changed from next-patchlevel to 6.2.12
- Sprint Focus set to Stabilization Sprint
Updated by Alexander Opitz over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 713c8110effcbbdd04a7759f38d8bf23ac790a7c.
Updated by Xavier Perseguers over 9 years ago
- Status changed from Resolved to Under Review
- % Done changed from 100 to 80
Not ready until merged in 6.2 as well
Updated by Alexander Opitz over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 80 to 100
Applied in changeset ad23774a72f08d6aecaef615b4f3f8de19b30e32.
Updated by Riccardo De Contardi almost 7 years ago
- Status changed from Resolved to Closed