User tests: Successful: Unsuccessful:
Pull Request for pr comment ##22913 (comment).
In the abstract event when the argument has the same name as the getter/setter function, then an infinite loop happens. This is a workaround to directly fetch the Arguments in the getter, instead of calling the helper function of the abstract base class.
The problem is this line https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Event/AbstractEvent.php#L138, which produces an infinite loop. Honestly I would remove the getArgument/setArgument overriden functions completely. @mbabker thoughts?
Error page with 404 is shown.
Site crashes with an infinite loop.
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
I have tested this item
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-06 09:00:16 |
Closed_By | ⇒ | wilsonge | |
Labels |
Added:
?
|
Looks correct to me
I now get
If I also apply #22917 then these errors are gone.
==> I suggest to combine these PRs to simplify testing.
(We still get all modules in the 404 but that is another issue.)