Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Removing LegacyPropertyManagementTrait::setProperties() usage in Core #44008

Merged
merged 3 commits into from
Oct 4, 2024

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Sep 1, 2024

Summary of Changes

The LegacyPropertyManagementTrait is deprecated and we are still using setProperties in some areas. This PR removes the usage of that method from all occurences in our core.

Testing Instructions

Test registering a user and logging in and view a category view in the frontend. That should trigger all the code. There should be no difference between before and after applying this PR.

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

@Hackwar Hackwar requested a review from chmst as a code owner September 1, 2024 20:08
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester PR-5.3-dev labels Sep 1, 2024
@HLeithner
Copy link
Member

Upmerge for 5.3 missing first?

@joomla-cms-bot joomla-cms-bot removed Language Change This is for Translators NPM Resource Changed This Pull Request can't be tested by Patchtester labels Sep 2, 2024
@rdeutz
Copy link
Contributor

rdeutz commented Sep 18, 2024

Shouldn't the use LegacyPropertyManagementTrait; be removed in the files?

@Hackwar
Copy link
Member Author

Hackwar commented Sep 27, 2024

No, we can't remove those traits, because it would be a b/c break. I'm looking forward to removing the trait from everything in 6.0, but right now we are stuck with it.

@laoneo laoneo merged commit 9f5a53b into joomla:5.3-dev Oct 4, 2024
3 checks passed
@laoneo
Copy link
Member

laoneo commented Oct 4, 2024

Thanks!

@laoneo laoneo added this to the Joomla! 5.3.0 milestone Oct 4, 2024
@Hackwar Hackwar deleted the 5.2-legacyproperty-setproperties branch November 24, 2024 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants