Project

General

Profile

Actions

Task #54512

closed

Bypass compatibility check in extension manager

Added by Christian Weiske over 10 years ago. Updated over 5 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 4 (0 open4 closed)

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
Actions #1

Updated by Christian Weiske over 10 years ago

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

Actions #2

Updated by Philipp Gampe over 10 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?

Actions #3

Updated by Christian Weiske over 10 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.

Actions #4

Updated by Oliver Hader over 10 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)

Actions #5

Updated by Markus Kappe about 10 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.

Actions #6

Updated by Florian Seirer about 10 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.

Actions #7

Updated by Markus Klein about 10 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?

Actions #8

Updated by Florian Seirer about 10 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."

Actions #9

Updated by Markus Klein about 10 years ago

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

Actions #10

Updated by Gerrit Code Review about 10 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

Actions #11

Updated by Ernesto Baschny about 10 years ago

  • Tracker changed from Bug to Task
Actions #12

Updated by Gerrit Code Review about 10 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

Actions #13

Updated by Gerrit Code Review about 10 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

Actions #14

Updated by Gerrit Code Review about 10 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

Actions #15

Updated by Nicole Cordes about 10 years ago

  • Assignee set to Nicole Cordes
Actions #16

Updated by Gerrit Code Review about 10 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

Actions #17

Updated by Gerrit Code Review about 10 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

Actions #18

Updated by Gerrit Code Review about 10 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

Actions #19

Updated by Gerrit Code Review about 10 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

Actions #20

Updated by Clemens Riccabona almost 10 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 ... ;)

Actions #21

Updated by Markus Klein almost 10 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

Actions #22

Updated by Gerrit Code Review almost 10 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

Actions #23

Updated by Gerrit Code Review almost 10 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

Actions #24

Updated by Gerrit Code Review almost 10 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

Actions #25

Updated by Gerrit Code Review almost 10 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

Actions #26

Updated by Gerrit Code Review almost 10 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

Actions #27

Updated by Gerrit Code Review almost 10 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

Actions #28

Updated by Nicole Cordes almost 10 years ago

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

Updated by Clemens Riccabona almost 10 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

Actions #30

Updated by Stefan Neufeind almost 10 years ago

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

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

Actions #31

Updated by Stefan Neufeind almost 10 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.

Actions #32

Updated by Gerrit Code Review almost 10 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

Actions #33

Updated by Gerrit Code Review almost 10 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

Actions #34

Updated by Gerrit Code Review almost 10 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

Actions #35

Updated by Markus Klein almost 10 years ago

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

Updated by Gerrit Code Review almost 10 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

Actions #37

Updated by Gerrit Code Review almost 10 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

Actions #38

Updated by Gerrit Code Review almost 10 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

Actions #39

Updated by Gerrit Code Review almost 10 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

Actions #40

Updated by Gerrit Code Review almost 10 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

Actions #41

Updated by Gerrit Code Review almost 10 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

Actions #42

Updated by Gerrit Code Review almost 10 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

Actions #43

Updated by Gerrit Code Review almost 10 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

Actions #44

Updated by Gerrit Code Review almost 10 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

Actions #45

Updated by Gerrit Code Review almost 10 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

Actions #46

Updated by Gerrit Code Review almost 10 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

Actions #47

Updated by Gerrit Code Review almost 10 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

Actions #48

Updated by Gerrit Code Review almost 10 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

Actions #49

Updated by Gerrit Code Review almost 10 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

Actions #50

Updated by Nicole Cordes almost 10 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF