User tests: Successful: Unsuccessful:
Pull Request for Issue # .
With #37498 being merged into 4.2, we can now replace deprecated method Factory::getUser()
in components model classes with new method $this->getCurrentUser()
Works, but uses deprecated methods.
Works, without using deprecated methods.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_associations com_banners com_categories com_config com_contact com_content com_contenthistory com_fields com_finder com_installer com_joomlaupdate com_languages com_menus com_messages |
Factory::getUser
would be more safe, I think (I believe in site, administrator and api applications, the fallback is not needed). I just don't know how it is used in installation and console apps.
Do you want to do it here or a separate one?
Better in the separate PR, please
This pull requests has been automatically converted to the PSR-12 coding standard.
Labels |
Added:
?
Maintainers Checked
?
|
Would be good to postpone this for 4.3. What do you think @joomdonation?
Title |
|
I have tested this item
Tested good on frontend and backend pages in Joomla 4.3 dev
Drone is erroring out but looks like a timeout issue so I do not believe this related.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
PR-4.3-dev
Removed: ? |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-12 12:52:26 |
Closed_By | ⇒ | laoneo |
Thanks!
I'm wondering if we should fallback here to
Factory::getUser
instead of an empty user?