? ? Pending

User tests: Successful: Unsuccessful:

avatar tonypartridge
tonypartridge
2 Nov 2017

Pull Request for Issue #18484 .
When calling JHelperContent::getCurrentLanguage() within an extension where multilang fails we check agains $langCode but it hasn't been set, so set it before we do anything.

avatar tonypartridge tonypartridge - open - 2 Nov 2017
avatar tonypartridge tonypartridge - change - 2 Nov 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2017
Category Libraries
avatar tonypartridge tonypartridge - change - 2 Nov 2017
Labels Added: ?
avatar infograf768 infograf768 - test_item - 3 Nov 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 3 Nov 2017

I have tested this item successfully on 74d4ab2

Makes sense.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18485.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Nov 2017

How to test this Pull Request?

avatar tonypartridge
tonypartridge - comment - 3 Nov 2017

@obuisard can you test please?

@franz-wohlkoenig it's an awkward one to test!

avatar obuisard
obuisard - comment - 3 Nov 2017

Tested successfully with one of my extensions. Thank you!
Note that I have also updated my code to prevent calls to getCurrentLanguage in a non-multi-lingual site :-)

avatar tonypartridge
tonypartridge - comment - 3 Nov 2017

@obuisard can you please mark as successful here:
https://issues.joomla.org/tracker/joomla-cms/18485

you will need to login first with your github account :)

avatar obuisard obuisard - test_item - 3 Nov 2017 - Tested successfully
avatar obuisard
obuisard - comment - 3 Nov 2017

I have tested this item successfully on 74d4ab2


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18485.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Nov 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Nov 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 4 Nov 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-11-04 14:36:13
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 4 Nov 2017
avatar mbabker mbabker - merge - 4 Nov 2017

Add a Comment

Login with GitHub to post a comment