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

[4.3] Migrate the extension finder plugin to services #39006

Merged
merged 8 commits into from Nov 10, 2022

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Oct 21, 2022

Summary of Changes

Migrate the extension finder plugin to services.

Testing Instructions

Install an extension.

Actual result BEFORE applying this Pull Request

All works.

Expected result AFTER applying this Pull Request

All works.

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

@Abernyte-Git
Copy link

I have tested this item ✅ successfully on e46b1ec


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

@laoneo
Copy link
Member Author

laoneo commented Nov 9, 2022

@heelc29 do you also have time to test this?

@heelc29
Copy link
Contributor

heelc29 commented Nov 9, 2022

Can you remove the two require -> file is empty

require_once JPATH_ADMINISTRATOR . '/components/com_finder/helpers/indexer/helper.php';

require_once JPATH_ADMINISTRATOR . '/components/com_finder/helpers/indexer/helper.php';

/**
* Finder Indexer Helper class.
*
* @since 2.5
* @deprecated 5.0 Use \Joomla\Component\Finder\Administrator\Indexer\Helper instead
*/

Import is used

use Joomla\Component\Finder\Administrator\Indexer\Helper;

@laoneo
Copy link
Member Author

laoneo commented Nov 10, 2022

Thanks for the hint @heelc29, removed it.

@heelc29
Copy link
Contributor

heelc29 commented Nov 10, 2022

I have tested this item ✅ successfully on 1b619e9


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

@laoneo
Copy link
Member Author

laoneo commented Nov 10, 2022

Setting RTC as only requires are removed which are pointing to an empty file.


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Nov 10, 2022
@obuisard obuisard added this to the Joomla! 4.3.0 milestone Nov 10, 2022
@obuisard obuisard merged commit c80d5fe into joomla:4.3-dev Nov 10, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Nov 10, 2022
@obuisard
Copy link
Contributor

Thank you Allon @laoneo!

@laoneo laoneo deleted the plugins/extension/finder branch November 10, 2022 20:20
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.

None yet

5 participants