PHP 8.x bug PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
18 Oct 2024

Pull Request for Issue #44284 .

Summary of Changes

added #[\AllowDynamicProperties]

Testing Instructions

see #44284 .

Actual result BEFORE applying this Pull Request

deprecation

Expected result AFTER applying this Pull Request

no more derepcation

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 alikon alikon - open - 18 Oct 2024
avatar alikon alikon - change - 18 Oct 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2024
Category Libraries
avatar Hackwar
Hackwar - comment - 18 Oct 2024

Please add the necessary attributes instead of hiding the error with this code.

avatar alikon
alikon - comment - 18 Oct 2024

the only way I was able to reproduce the issue, has been to add a non standard "tag" <updatefromcli>false</updatefromcli> in the updateserver xml file

so we don't know the exact non standard tags that are defined in the updateserver xml file of the extensions for @obuisard it was <length></leght> i suspect, so to avoid errors the #[\AllowDynamicProperties] could be a good solution imho

avatar obuisard
obuisard - comment - 18 Oct 2024

I have found the extension that has <length> in the update server file and it's a VERY popular extension.
My point is, it will be happening on a lot of sites that have error reporting enabled.

avatar richard67
richard67 - comment - 19 Oct 2024

@obuisard Does this PR close your issue?

avatar obuisard obuisard - test_item - 19 Oct 2024 - Tested successfully
avatar obuisard
obuisard - comment - 19 Oct 2024

I have tested this item ✅ successfully on fa35b85


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

avatar obuisard
obuisard - comment - 19 Oct 2024

@obuisard Does this PR close your issue?

Yes, all good with it!
Thank you Nicola @alikon

avatar Hackwar
Hackwar - comment - 23 Oct 2024

@rdeutz could you change your approval to a test, so that we can merge this?

avatar Hackwar Hackwar - change - 23 Oct 2024
Labels Added: PHP 8.x bug PR-5.2-dev
avatar Hackwar Hackwar - change - 21 Nov 2024
Status Pending Ready to Commit
avatar Hackwar
Hackwar - comment - 21 Nov 2024

With the review of @rdeutz and the test of @obuisard I'm declaring this as RTC.


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

Add a Comment

Login with GitHub to post a comment