RTC bug PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
19 Mar 2024

Pull Request for Issue #43000 .

Summary of Changes

Finder plugins should not generate any output when being run. If they create output, we expect this to be the output of notices, errors or warnings from PHP directly. This check has been added in 5.0, however some finder plugins out there seem to generate output, most likely from switching between PHP and HTML context. This PR makes this a bit less strict by allowing spaces and new line characters as output. I consider this an acceptable compromise.

Testing Instructions

Codereview

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 Hackwar Hackwar - open - 19 Mar 2024
avatar Hackwar Hackwar - change - 19 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Mar 2024
Category Administration com_finder
avatar Quy Quy - test_item - 19 Mar 2024 - Tested successfully
avatar Quy
Quy - comment - 19 Mar 2024

I have tested this item ✅ successfully on af165ba


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

avatar viocassel viocassel - test_item - 19 Mar 2024 - Tested successfully
avatar viocassel
viocassel - comment - 19 Mar 2024

I have tested this item ✅ successfully on af165ba


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

avatar Quy Quy - change - 19 Mar 2024
Status Pending Ready to Commit
Labels Added: PR-5.1-dev
avatar Quy
Quy - comment - 19 Mar 2024

RTC


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

avatar Hackwar Hackwar - change - 22 Mar 2024
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2024-03-22 10:57:01
Closed_By Hackwar
Labels Added: RTC bug
avatar Hackwar Hackwar - close - 22 Mar 2024
avatar Hackwar Hackwar - change - 22 Mar 2024
Status Closed New
Closed_Date 2024-03-22 10:57:01
Closed_By Hackwar
Labels Removed: RTC
avatar Hackwar Hackwar - change - 22 Mar 2024
Status New Pending
avatar Hackwar Hackwar - reopen - 22 Mar 2024
avatar Quy Quy - change - 22 Mar 2024
Status Pending Ready to Commit
avatar Quy
Quy - comment - 22 Mar 2024

RTC


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

avatar 35grain
35grain - comment - 27 Mar 2024

For anyone stumbling on this before 5.1 is released. These were the symptoms that lead me to this fix in my case:

  • The useful message A "finder" plugin has had an error. in everything.php log.
  • The error Error An error has occurred while fetching the JSON data: HTTP 502 status code. Bad gateway. in the Smart Search Indexer modal.
avatar bembelimen bembelimen - change - 27 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-27 18:02:38
Closed_By bembelimen
Labels Added: RTC
avatar bembelimen bembelimen - close - 27 Mar 2024
avatar bembelimen bembelimen - merge - 27 Mar 2024
avatar bembelimen
bembelimen - comment - 27 Mar 2024

Thx

Add a Comment

Login with GitHub to post a comment