akeeba / engage

Akeeba Engage - Comments for Joomla!™ articles made easy
GNU General Public License v3.0
16 stars 10 forks source link

Warning after installation of original V2.0.1 #82

Closed NetSecond closed 3 years ago

NetSecond commented 3 years ago

Hi,

after download and install version 2.0.1 I get following messages after installation:

engage_problem_1

Engage is running fine then. I tested it with different joomla installations with the original package and with joomla 3.x.x and 4.0.0 beta 8.

nikosdion commented 3 years ago

This is not a bug in our software. It's how Joomla works. You already have a newer version of FOF installed by means of having installed an Akeeba extension released after Engage 2.0.1 e.g. Akeeba Backup, Admin Tools, LoginGuard etc.

FOF is the common backend framework for our extensions. FEF is the common frontend (CSS and JS) framework for our extensions. We don't want an older extension to install an older version of either framework as this could reintroduce a bug we've fixed in a newer version.

Unfortunately, Joomla does NOT have any kind of dependency management. So we have to fake it. The only way to fake it is use the pre-installation script Joomla allows for installing an extension (either of these frameworks is a Joomla extension) and return false if there's a new version, telling Joomla not to install this older version. Joomla will then IDIOTICALLY print a message about the installation failing when the installation (of the extension you told it to install) HAS NOT FAILED!

So, in a few short words: Joomla's extension installation experience is crap.

The only thing I can address it is by rewriting Engage using core Joomla MVC, without using our own frameworks. I will, it's a decision I've made for all of our software but doing this for Engage is currently not a top priority. I am working on our paid extensions and the extensions we use on our site first. If we don't make a living we obviously can't spend any time working on our free of charge software :)

NetSecond commented 3 years ago

I know about your hard work and please remember, that I only showed, whats happend, when I install your great package. So, in this case, everything is fine ....

nikosdion commented 3 years ago

It's really not a problem, but I do need to explain why this happens. It's very much non-obvious to the observer.

This, along with the fact that Joomla 4's core backend framework finally caught up with most of what I was doing ten years ago, played their part in my decision to move everything to using the core frameworks. In the end of the day I very much prefer having to maintain less code 😄