?
avatar infograf768
infograf768
27 Apr 2017

Steps to reproduce the issue

Install a language through Installation->Install->Upload package file.
for example pick https://github.com/infograf768/fr-FR-3.x/releases/download/3.7.0.2_stable/fr-FR_joomla_lang_full_3.7.0v2.zip

Then re-install it the same way.
One gets:
0 - An error has occurred.
Call to undefined method JInstallerAdapterLanguage::set()

Note: First install works fine as well as uninstall the pack

avatar infograf768 infograf768 - open - 27 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Apr 2017
avatar mbabker
mbabker - comment - 27 Apr 2017

The install adapters don't extend from JObject anymore so get/set aren't there. Though I swear when I did that change I caught all of the uses...

avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Apr 2017
Category com_languages Installation
avatar franz-wohlkoenig franz-wohlkoenig - change - 27 Apr 2017
Status New Discussion
avatar infograf768 infograf768 - change - 28 Apr 2017
Status Discussion Confirmed
avatar infograf768 infograf768 - change - 28 Apr 2017
Category com_languages Installation com_installer
avatar Bakual
Bakual - comment - 24 May 2017

Installing a language from the language installer is indeed broken currently. It uses the "Install from URL" method. From what I debugged so far, the response from JHttpTransportCurl->get($url) is wrong. It does contain the header but no code and body property and thus afterwards everything fails.

It may be related to #13936 (not sure).

avatar mbabker
mbabker - comment - 24 May 2017

There won't be an explicit body or code property anymore, but calling $response->body should still give the body contents through our magic getter and B/C layer.

avatar Bakual
Bakual - comment - 24 May 2017

Thanks. Have to debug bit more then ?

avatar Bakual
Bakual - comment - 28 May 2017

Btw, same issue in J3.8 for me.

avatar laoneo
laoneo - comment - 28 May 2017

Can this be the cause #15884?

avatar Bakual
Bakual - comment - 28 May 2017

I don't think it's related to that. It seems to run through all but in the end I get "Error
Unable to find install package"
It also doesn't work in the installation step where you could add more languages.

avatar Bakual
Bakual - comment - 28 May 2017

@infograf768 Can you confirm that this is the same issue as yours? And that it also doesn't work in 3.8?
If so, then this will be a release blocker for 3.8.0.

avatar wilsonge
wilsonge - comment - 29 May 2017

There is a pull request with #16300

avatar wilsonge wilsonge - change - 29 May 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-05-29 08:23:49
Closed_By wilsonge
avatar wilsonge wilsonge - close - 29 May 2017
avatar Bakual
Bakual - comment - 29 May 2017

Apparently we have two issues as it looks. Will open a new one for the remaining.

avatar wilsonge
wilsonge - comment - 29 May 2017

Thankyou!

avatar Bakual
Bakual - comment - 29 May 2017

Actually, I'm just stupid. The XML has <targetplatform name="joomla" version="3.[01234567]"/> and thus currently in 3.8 and 4.0 no matching language pack will be found.

avatar brianteeman
brianteeman - comment - 29 May 2017

@Bakual was just about to point that out - glad you spotted it yourself

Add a Comment

Login with GitHub to post a comment