? bug PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
1 May 2023

Pull Request for Issue #40517 .

Summary of Changes

@laoneo](https://github.com/laoneo) removed this use statement with #39624. I assuming it was in error

Testing Instructions

see #40517

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2023
Category Front End Plugins
avatar brianteeman brianteeman - open - 1 May 2023
avatar brianteeman brianteeman - change - 1 May 2023
Status New Pending
avatar dgrammatiko
dgrammatiko - comment - 1 May 2023

Actually the correct solution is to change line 87 from
$_errorMessage = Text::_('JLIB_LOGIN_DENIED');
to
$_errorMessage = $this->getApplication()->getLanguage()->_('JLIB_LOGIN_DENIED');

avatar sandewt
sandewt - comment - 1 May 2023

$_errorMessage = Text::_('JLIB_LOGIN_DENIED');

I think this was the intention:

$response->error_message = $this->getApplication()->getLanguage()->_('JLIB_LOGIN_DENIED');

This can then expire again:
use Joomla\CMS\Language\Text;

[EDIT I just missed the previous post]

avatar laoneo
laoneo - comment - 1 May 2023

Tanks @brianteeman for the fast pr. Can you change the pr to the proposal from @dgrammatiko?

avatar brianteeman brianteeman - change - 1 May 2023
Labels Added: PR-4.3-dev
avatar richard67 richard67 - test_item - 1 May 2023 - Tested successfully
avatar richard67
richard67 - comment - 1 May 2023

I have tested this item successfully on 7f1fe05

To reproduce the error I had to switch the site to offline in addition to what's described in issue #40517 .

See also #40517 (comment) .


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

avatar laoneo laoneo - test_item - 1 May 2023 - Tested successfully
avatar laoneo
laoneo - comment - 1 May 2023

I have tested this item successfully on 7f1fe05


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

avatar richard67 richard67 - change - 1 May 2023
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 1 May 2023

RTC


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

avatar sdwjoomla sdwjoomla - change - 6 May 2023
Labels Added: ? bug
avatar sdwjoomla sdwjoomla - change - 6 May 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-06 03:01:13
Closed_By sdwjoomla
avatar sdwjoomla sdwjoomla - close - 6 May 2023
avatar sdwjoomla sdwjoomla - merge - 6 May 2023
avatar sdwjoomla
sdwjoomla - comment - 6 May 2023

Thanks brianteeman

avatar brianteeman
brianteeman - comment - 6 May 2023

thanks

Add a Comment

Login with GitHub to post a comment