? bug ? PR-4.3-dev Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
3 Jan 2023

Fix for stuff like #38222 and #38214 .

Summary of Changes

Prevent crashing of plugin renderers in non Web context

Testing Instructions

Have to apply all PR, this one, then #38585 then #38650
Then run test from #38650

Actual result BEFORE applying this Pull Request

Error

Expected result AFTER applying this Pull Request

Works

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 - 3 Jan 2023
Category Libraries
avatar Fedik Fedik - open - 3 Jan 2023
avatar Fedik Fedik - change - 3 Jan 2023
Status New Pending
avatar Fedik Fedik - change - 3 Jan 2023
The description was changed
avatar Fedik Fedik - edited - 3 Jan 2023
avatar Fedik Fedik - change - 3 Jan 2023
The description was changed
avatar Fedik Fedik - edited - 3 Jan 2023
avatar Fedik
Fedik - comment - 3 Jan 2023

I think PluginHelper::getLayoutPath we should deprecate to remove in 6.x, in favor of use layout

avatar richard67
richard67 - comment - 3 Jan 2023

@Fedik Have you mixed up actual and expected result in the description? Or is it just me not understanding why expected result is error and actual result is it works?

avatar Fedik
Fedik - comment - 3 Jan 2023

Have you mixed up actual and expected result in the description?

Yeap, that was me ?

avatar Fedik Fedik - change - 3 Jan 2023
The description was changed
avatar Fedik Fedik - edited - 3 Jan 2023
avatar carlitorweb
carlitorweb - comment - 6 Mar 2023

For next tester, to reproduce the error go to the terminal and type: php cli/joomla.php finder:index

As result you will get:
Captura

I not sure if through the administrator the mass indexer in the smart search component need throw an error, was not my case.

avatar carlitorweb carlitorweb - test_item - 6 Mar 2023 - Tested successfully
avatar carlitorweb
carlitorweb - comment - 6 Mar 2023

I have tested this item successfully on a4a0338


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

avatar viocassel viocassel - test_item - 21 Mar 2023 - Tested successfully
avatar viocassel
viocassel - comment - 21 Mar 2023

I have tested this item successfully on a4a0338


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

avatar richard67 richard67 - change - 21 Mar 2023
Status Pending Ready to Commit
Labels Added: ?
avatar richard67
richard67 - comment - 21 Mar 2023

RTC


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

avatar HLeithner
HLeithner - comment - 2 May 2023

This pull request has been automatically rebased to 4.3-dev.

avatar obuisard obuisard - change - 5 May 2023
Labels Added: ? bug
avatar obuisard obuisard - change - 5 May 2023
Labels Added: PR-4.3-dev
avatar obuisard obuisard - change - 5 May 2023
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2023-05-05 18:36:51
Closed_By obuisard
avatar obuisard obuisard - close - 5 May 2023
avatar obuisard obuisard - merge - 5 May 2023
avatar obuisard
obuisard - comment - 5 May 2023

Thanks Fedir @Fedik for this PR :-)

Add a Comment

Login with GitHub to post a comment