bug PR-5.0-dev ? Pending

User tests: Successful: Unsuccessful:

avatar Fedik
Fedik
10 Aug 2023

Summary of Changes

I have extracted b/c fixes from #41226 in to separated PR.

Testing Instructions

Apply patch.
Edit plugins/system/sef/src/Extension/Sef.php, add return true at top of onAfterDispatch() function.

Actual result BEFORE applying this Pull Request

An error, cannot set result for Imutable event

Expected result AFTER applying this Pull Request

No error

Link to documentations

Please select:

  • Documentation link for docs.joomla.org: IDK
  • No documentation changes for docs.joomla.org needed
  • Pull Request link for manual.joomla.org: IDK
  • No documentation changes for manual.joomla.org needed
avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2023
Category Libraries
avatar Fedik Fedik - open - 10 Aug 2023
avatar Fedik Fedik - change - 10 Aug 2023
Status New Pending
avatar HLeithner
HLeithner - comment - 10 Aug 2023

Would it make sense to check if the $name is a string and numeric?

Actually only strings are allowed but we don't have a typehint for it...

avatar Fedik
Fedik - comment - 10 Aug 2023

I think it is enought to check for "numeric", additional test for a string does not give us any extra value.

avatar Fedik Fedik - change - 12 Aug 2023
Labels Added: bug PR-5.0-dev ?
avatar HLeithner
HLeithner - comment - 12 Aug 2023

I would do this in 4.4 because it's not an intended behaviour (if we remove it in 6 then is another story)

avatar Fedik
Fedik - comment - 13 Aug 2023

I can redo it to 4.4, no problem

avatar Fedik Fedik - change - 13 Aug 2023
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2023-08-13 08:40:48
Closed_By Fedik
avatar Fedik
Fedik - comment - 13 Aug 2023

PR for 4.4 #41357

avatar Fedik Fedik - close - 13 Aug 2023

Add a Comment

Login with GitHub to post a comment