RTC PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
14 Feb 2025

Summary of Changes

The LegacyPropertyManagementTrait is deprecated and will be removed most likely in 7.0. Right now it is still used by the User class and this PR removes all cases where this old code is still used in the Joomla core.

Testing Instructions

Testing the change to the UserModel:

  1. Create a user and login with it
  2. Go to "Users > Messaging > Private Messages" and send a message to another user.
  3. See a row for this message in #__messages
  4. Delete the newly created user and check in `#__messages´ that the row has been deleted.

Testing the change to the RegistrationModel:

  1. Go to the options of the user component and enable registration on the site if it isn't.
  2. At the same place enable the need for new users to be activated by admins
  3. Go to the frontend and go through the registration process, confirm your email and approve the account by an admin

Testing the change to ResetModel:
Go through the process of resetting your password in the frontend

This tests all other changes in this PR as well.

Actual result BEFORE applying this Pull Request

Everything works as expected.

Expected result AFTER applying this Pull Request

Everything still works as before.

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 Hackwar Hackwar - open - 14 Feb 2025
avatar Hackwar Hackwar - change - 14 Feb 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Feb 2025
Category Administration com_users Front End Libraries Plugins
avatar bembelimen
bembelimen - comment - 25 Mar 2025

Any reason this is a draft?

avatar Hackwar Hackwar - change - 19 Apr 2025
Labels Added: Code Review PR-5.3-dev
avatar Hackwar Hackwar - change - 19 Apr 2025
Title
[5.3] Remove calls to LegacyPropertyManagementTrait in User class context
[5.4] Remove calls to LegacyPropertyManagementTrait in User class context
avatar Hackwar Hackwar - edited - 19 Apr 2025
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2025
Category Administration com_users Front End Libraries Plugins Administration com_installer com_joomlaupdate com_media NPM Change com_users Repository JavaScript Language & Strings Front End Installation
avatar richard67 richard67 - change - 22 Apr 2025
Labels Added: Language Change NPM Resource Changed PR-5.4-dev
avatar joomla-cms-bot joomla-cms-bot - change - 22 Apr 2025
Category Administration com_users Front End com_installer com_joomlaupdate com_media NPM Change Repository JavaScript Language & Strings Installation Administration com_users Front End Libraries Plugins
avatar HLeithner
HLeithner - comment - 7 May 2025

@Hackwar code review is not enough, could you please write test instruction, in this case test all touched classes

Code Review looks ok for me

avatar richard67 richard67 - change - 11 May 2025
Labels Removed: Language Change NPM Resource Changed PR-5.3-dev
avatar Hackwar Hackwar - change - 21 May 2025
The description was changed
avatar Hackwar Hackwar - edited - 21 May 2025
avatar Hackwar
Hackwar - comment - 21 May 2025

Done.

avatar ceford ceford - test_item - 27 May 2025 - Tested successfully
avatar ceford
ceford - comment - 27 May 2025

I have tested this item ✅ successfully on 9e80962


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

avatar richard67 richard67 - change - 3 Jun 2025
Labels Removed: Code Review
avatar richard67 richard67 - alter_testresult - 3 Jun 2025 - ceford: Tested successfully
avatar toivo toivo - test_item - 12 Jun 2025 - Tested successfully
avatar toivo
toivo - comment - 12 Jun 2025

I have tested this item ✅ successfully on 50ef14c

Tested successfully in Joomla 5.4.0-alpha2-dev


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

avatar exlemor exlemor - test_item - 13 Jun 2025 - Tested successfully
avatar exlemor
exlemor - comment - 13 Jun 2025

I have tested this item ✅ successfully on 50ef14c

I have tested this successfully! Thanks @Hackwar


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

avatar QuyTon QuyTon - change - 13 Jun 2025
Status Pending Ready to Commit
avatar QuyTon
QuyTon - comment - 13 Jun 2025

RTC


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

avatar QuyTon QuyTon - change - 13 Jun 2025
Labels Added: RTC
avatar muhme muhme - change - 13 Jun 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-06-13 06:49:38
Closed_By muhme
avatar muhme muhme - close - 13 Jun 2025
avatar muhme muhme - merge - 13 Jun 2025
avatar muhme
muhme - comment - 13 Jun 2025

Thank you all.

avatar Bodge-IT Bodge-IT - test_item - 13 Jun 2025 - Tested successfully
avatar Bodge-IT
Bodge-IT - comment - 13 Jun 2025

I have tested this item ✅ successfully on dc51c66

Test 1:

  1. Created new user as admin and send test msg
  2. Logged in as new user verify msg
  3. Send msg to Admin
  4. Log in as admin verify msg
  5. Delete user verify nothing in inbox

Test 2:

  1. Log in as admin setup registrations with admin approval.
  2. Register
  3. Verify & approve
  4. Log in as new user
  5. Log out, request pass change
  6. Change pass
  7. Verify log works for new user.

All tested as I expect it to but for the first time I notice that between user verification and admin approval, there is nothing to indicate that verification has been completed by new user or any indication for admin that there is a user awaiting approval by them. Tested same behaviour on J4.


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

Add a Comment

Login with GitHub to post a comment