Task #54512

Bypass compatibility check in extension manager

Added by Christian Weiske about 8 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2013-12-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

From http://lists.typo3.org/pipermail/typo3-team-core/2013-November/054771.html :

While test-driving 6.2-dev I'm running into the new compatibility check in the
extension manager. It refuses to install extensions which do not have explicit
6.2 support in ext_emconf.php, and therefor there are very few extensions which
can be installed at all.

Normally I would download AND install the extension in my dev-environment to
test if it works. If it would break the installation I would de-install and
remove, or fix the code and re-install.

I would expect a warning, and maybe refuse to install without prior warnings,
but now I can not even download it to fix it myself. Trying out older extensions
gets really annoying this way, because I'd first have to figure out where the
git or svn-repository is - if it exists at all - and otherwise download the
extension in some older TYPO3-installation, or some other lengthy procedure.

Also, if the extension manager refuses to even download older extensions, there
is no point in showing them either.

I think it should just present a severe warning before allowing you to install
older extensions, or at least download them. There could also be an install tool
option that would allow this behaviour, so that it the default remains as it is
now.


Related issues

Related to TYPO3 Core - Bug #23902: Dependency error when installing extensions on alpha or beta versionClosed2010-11-01

Actions
Related to TYPO3 Core - Bug #58457: Missing function call after #54512 (bypass EM dependency checks)ClosedNicole Cordes2014-05-03

Actions
Related to TYPO3 Core - Bug #59624: Cannot Update ExtensionsClosed2014-06-17

Actions
Has duplicate TYPO3 Core - Bug #56577: When updating an extension that does not meet the requirements, the extension manager stopsClosed2014-03-05

Actions
#1

Updated by Christian Weiske about 8 years ago

Currently you have to edit typo3/sysext/extensionmanager/Classes/Utility/DependencyUtility.php and comment out the code in checkTypo3Dependency().

#2

Updated by Philipp Gampe about 8 years ago

  • Status changed from New to Needs Feedback

Download should work fine, because the install step fails. Do you get a correct error message?

#3

Updated by Christian Weiske about 8 years ago

I get the following error message:

Dependencies could not be resolved
Your TYPO3 version is higher than allowed. You can use TYPO3 versions 4.5.0 - 6.1.99

The extension files do not appear in typo3conf/ext/, though.

Tested with jh_opengraphprotocol in 6.2 git.

#4

Updated by Oliver Hader about 8 years ago

  • Status changed from Needs Feedback to Accepted

Setting this to "accepted" since the dependency checks is helpful but too strict as well.
Thus "ignoring" the dependency checks is a desired behaviour (like in previous EM)

#5

Updated by Markus Kappe almost 8 years ago

The behaviour should be consistent when you upload a .t3x or .zip file. Currently there is no dependency check with file uploads, unlike when installing from the repository.

#6

Updated by Florian Seirer almost 8 years ago

In 6.2 beta 5 I'm not even able to install extensions that come with the core like recycler or scheduler.
That's a real head scratcher.

#7

Updated by Markus Klein almost 8 years ago

Florian Kuss, did you install 6.2 from scratch or did you upgrade from some previous version?
What is the error message you're seeing?

#8

Updated by Florian Seirer almost 8 years ago

I installed a fresh 6.2 on a fresh XAMPP installation, without pages or pretty much anything but an admin be_user.
This was the error message I got in the extension manager: "Your TYPO3 version is lower than necessary. You need at least TYPO3 version 6.2.0"

I also tried the update wizard to install the system extension "recycler" and got another error message: "Package "core" is already registered."

#9

Updated by Markus Klein almost 8 years ago

Florian Kuss: We just merged #23902. Which solves the problem of installing extensions now on current master.

#10

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from Accepted 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 https://review.typo3.org/28924

#11

Updated by Ernesto Baschny almost 8 years ago

  • Tracker changed from Bug to Task
#12

Updated by Gerrit Code Review almost 8 years ago

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

#13

Updated by Gerrit Code Review almost 8 years ago

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

#14

Updated by Gerrit Code Review almost 8 years ago

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

#15

Updated by Nicole Cordes almost 8 years ago

  • Assignee set to Nicole Cordes
#16

Updated by Gerrit Code Review almost 8 years ago

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

#17

Updated by Gerrit Code Review almost 8 years ago

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

#18

Updated by Gerrit Code Review almost 8 years ago

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

#19

Updated by Gerrit Code Review almost 8 years ago

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

#20

Updated by Clemens Riccabona over 7 years ago

I can not await this!
It is ridiculous.
All the time back since 2002 using TYPO3 in hundreds of projects I never had to edit core-files of a stable release to get basic functionality, till 6.2. ...

The extensionmanager is, compared to 4.5, unusable in some ways:

1. auto-installation. i do not like it. better: i hate it. a simple setting for turning off this 'feature' would have been a good choice. The difference a simple boolean can make! ;)
2. installing extensions globally is impossible. I know, you don't like it. and i can understand the arguments against. but i like. and i need to use it till a valid workaround is available.
3. worse than 2. (i wouldn't believe if i did not see): updating globally installed extension is impossible too!
4. installing extensions which have not been updated yet, just for testing them is impossible (e.g. georgs 'news', which works great with 6.2).

This patch for resolving the fourth point of my list is a first, small step in the right direction!

I know, a little bit OT, but it is anoying me so much, and I kept silent all the time, till today ... ;)

#21

Updated by Markus Klein over 7 years ago

Thanks for your feedback Clemens.

I totally understand your points. I kindly invite you to support the open source product, you've been using for over 10 years now, with your manpower/company.
Looks like you have some Core knowledge by now, so we would really appreciate it, if you could just contribute patches for things that are broken. But also reviewing activity is very welcome.
I would be glad to get a more streamlined EM for 6.2, but I/we lack time to work a week just on that.
So maybe you've the time to add the boolean mentioned in point 1. Feel free to invite me as reviewer.

Cheers Markus

#22

Updated by Gerrit Code Review over 7 years ago

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

#23

Updated by Gerrit Code Review over 7 years ago

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

#24

Updated by Gerrit Code Review over 7 years ago

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

#25

Updated by Gerrit Code Review over 7 years ago

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

#26

Updated by Gerrit Code Review over 7 years ago

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

#27

Updated by Gerrit Code Review over 7 years ago

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

#28

Updated by Nicole Cordes over 7 years ago

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

Updated by Clemens Riccabona over 7 years ago

Markus Klein wrote:

Thanks for your feedback Clemens.

I totally understand your points. I kindly invite you to support the open source product, you've been using for over 10 years now, with your manpower/company.

--
If I had more manpower, or a day will last more than 24 hours, I would contribute more, even in core ...
But at the moment, lacking time and manpower, I am thinking about raising my active contribution as a paying assoc. member (since its existance) from the bronze-level to silver.
--

Looks like you have some Core knowledge by now, so we would really appreciate it, if you could just contribute patches for things that are broken. But also reviewing activity is very welcome.

--
Hmm, my knowledge of the core, specially everything beyond 4.5.X is small (read as an euphemism for "nearly zero"). I read the core-list regularly to be up to date with the most general changes, but if this could be said as 'knowledge' ... i don't believe. ;)
--

I would be glad to get a more streamlined EM for 6.2, but I/we lack time to work a week just on that.
So maybe you've the time to add the boolean mentioned in point 1. Feel free to invite me as reviewer.

--
thinking about the boolean, i have two more lines to drop:
1. the best from my point of view would be a two button solution. so the user can decide if 'download incl. all missing dependecies' or 'download and install'.
The bool will then just decide, if this 'enhanced' feature is used or not.
2. will any change in em get into 6.2.X? if yes, i am maybe willing to contribute with codelines.
--

Cheers Markus

--
cheers clemens

#30

Updated by Stefan Neufeind over 7 years ago

  • Status changed from Resolved to Under Review
  • Target version deleted (6.2.0)

Commited patch was reverted. Still things unclear, it seems ...

#31

Updated by Stefan Neufeind over 7 years ago

@Clemens: Currently we still iron out small things here and there for 6.2.x. No new version was yet branched. So yes, we look forward to still improve EM in some areas where it's not really a "major" or even "breaking" change.

#32

Updated by Gerrit Code Review over 7 years ago

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

#33

Updated by Gerrit Code Review over 7 years ago

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

#34

Updated by Gerrit Code Review over 7 years ago

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

#35

Updated by Markus Klein over 7 years ago

  • Priority changed from Should have to Must have
  • % Done changed from 100 to 50
  • Complexity set to medium
#36

Updated by Gerrit Code Review over 7 years ago

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

#37

Updated by Gerrit Code Review over 7 years ago

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

#38

Updated by Gerrit Code Review over 7 years ago

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

#39

Updated by Gerrit Code Review over 7 years ago

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

#40

Updated by Gerrit Code Review over 7 years ago

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

#41

Updated by Gerrit Code Review over 7 years ago

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

#42

Updated by Gerrit Code Review over 7 years ago

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

#43

Updated by Gerrit Code Review over 7 years ago

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

#44

Updated by Gerrit Code Review over 7 years ago

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

#45

Updated by Gerrit Code Review over 7 years ago

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

#46

Updated by Gerrit Code Review over 7 years ago

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

#47

Updated by Gerrit Code Review over 7 years ago

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

#48

Updated by Gerrit Code Review over 7 years ago

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

#49

Updated by Gerrit Code Review over 7 years ago

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

#50

Updated by Nicole Cordes over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
#51

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF