J4 Issue ?
avatar SniperSister
SniperSister
19 Oct 2020

Steps to reproduce the issue

In J4, the psr0 support in JLoader has been removed by removing the corresponding loader method:
7b9e1fc#diff-91bf39a138bdc0126d116d281764e6278d2945cd29f5bec5374e7b2493dff585

However, code using that loader now silently fails in J4 as the rest of the code has not been adjusted to the removal, see: https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/loader.php#L441

@wilsonge @laoneo has this just been overlooked? Or did this happen on purpose?

Expected result

Exception being thrown if psr0 is used.

Actual result

"Silent" fail of class loading.

avatar SniperSister SniperSister - open - 19 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 19 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Oct 2020
avatar SniperSister SniperSister - change - 19 Oct 2020
Labels Added: J4 Issue
avatar SniperSister SniperSister - labeled - 19 Oct 2020
avatar laoneo
laoneo - comment - 19 Oct 2020

overlooked

avatar laoneo laoneo - close - 21 Oct 2020
avatar laoneo
laoneo - comment - 21 Oct 2020

Please test #31188.

avatar laoneo laoneo - change - 21 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-21 12:35:05
Closed_By laoneo

Add a Comment

Login with GitHub to post a comment