Skip to content

[4.2] PHP8.2 Use the params correctly in the article form layout#39601

Merged
HLeithner merged 2 commits intojoomla:4.2-devfrom
Digital-Peak:php82/formlayout
Jan 12, 2023
Merged

[4.2] PHP8.2 Use the params correctly in the article form layout#39601
HLeithner merged 2 commits intojoomla:4.2-devfrom
Digital-Peak:php82/formlayout

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Jan 11, 2023

Summary of Changes

The front from layout file uses the params data as direct attributes and not from the internal data store. This pr fixes it.

Testing Instructions

Open the article form on the PHP 8.2 on the front end with debug enabled.

Actual result BEFORE applying this Pull Request

The following warning is shown:
Creation of dynamic property Joomla\Registry\Registry::$show_urls_images_frontend is deprecated in

Expected result AFTER applying this Pull Request

No warning.

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

@laoneo laoneo added PHP 8.x PHP 8.x deprecated issues and removed PR-4.2-dev labels Jan 11, 2023
@carlitorweb
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on f1c78e0


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

@joomdonation
Copy link
Copy Markdown
Contributor

I have tested this item ✅ successfully on f1c78e0

This solves the issue. But I even don't know why we need that block of code. Maybe for history reason.


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

@joomla-cms-bot joomla-cms-bot removed the PHP 8.x PHP 8.x deprecated issues label Jan 12, 2023
@joomdonation
Copy link
Copy Markdown
Contributor

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jan 12, 2023
@HLeithner HLeithner merged commit 129b32f into joomla:4.2-dev Jan 12, 2023
@HLeithner
Copy link
Copy Markdown
Member

thanks

@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jan 12, 2023
@laoneo laoneo deleted the php82/formlayout branch January 12, 2023 16:18
@Quy Quy added this to the Joomla! 4.2.7 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants