? Pending

User tests: Successful: Unsuccessful:

avatar astridx
astridx
2 Apr 2021

Pull Request for Issue # #31524 (comment).

Summary of Changes

Inject the installer the same way as the database.

@laoneo Was that what you meant in your comment, and @wilsonge is that how it's generally intended ? Then I would standardize it in all places for the CLI.

Testing Instructions

Code review

Additional Questions

I realized while working on this PR, that the container is not in the Joomla Repo but in the Framework. Should not the framework be unified with the Joomla CMS in version 4? The roadmap includes this text:
The power of the Joomla Framework merged into the CMS

avatar astridx astridx - open - 2 Apr 2021
avatar astridx astridx - change - 2 Apr 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Apr 2021
Category Libraries
avatar astridx astridx - change - 2 Apr 2021
The description was changed
avatar astridx astridx - edited - 2 Apr 2021
avatar astridx astridx - change - 2 Apr 2021
The description was changed
avatar astridx astridx - edited - 2 Apr 2021
avatar astridx astridx - change - 2 Apr 2021
Title
inject installer via service provider
[4.] Inject installer via service provider
avatar astridx astridx - edited - 2 Apr 2021
avatar astridx astridx - change - 2 Apr 2021
Title
[4.] Inject installer via service provider
[4.x] Inject installer via service provider
avatar astridx astridx - edited - 2 Apr 2021
avatar PhilETaylor
PhilETaylor - comment - 2 Apr 2021

Interesting, I had moments ago raised this one about this cli command... #32967

avatar laoneo
laoneo - comment - 3 Apr 2021

I would even go one step further and make the installer a service provider. So you can load in the Console service provider the installer from the installer service provider.

avatar wilsonge
wilsonge - comment - 7 Apr 2021

I would even go one step further and make the installer a service provider. So you can load in the Console service provider the installer from the installer service provider.

I mean I think for Installer that might be a step to far as there's no way to reset all the extension data stored in all it's private/protected properties when installing an extension... (i mean generically speaking I agree)

To me this is in about the right place.

avatar astridx astridx - change - 14 Apr 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-04-14 06:50:10
Closed_By astridx
Labels Added: ?
avatar astridx astridx - close - 14 Apr 2021
avatar astridx
astridx - comment - 14 Apr 2021

What exactly are you discussing regarding this line?

avatar laoneo
laoneo - comment - 15 Apr 2021

That this can be also a service provider which offers an installer so you don't have to create an instance of the installer by yourself. The rest is absolutely fine and should come into 4.0.

avatar astridx
astridx - comment - 16 Apr 2021

I mean I think for Installer that might be a step to far as there's no way to reset all the extension data stored in all it's private/protected properties when installing an extension... (i mean generically speaking I agree)

To me this is in about the right place.

I understand @wilsonge so, that he seems that this might be a step to far and it is fine like it is currently?

avatar laoneo
laoneo - comment - 16 Apr 2021

In this comment #32969 (comment) he quoted my comment. @wilsonge can you shed some light into this one?

Add a Comment

Login with GitHub to post a comment