-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[6.0] Remove use of deprecated dispatcher from the plugin constructor #46682
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
[6.0] Remove use of deprecated dispatcher from the plugin constructor #46682
Conversation
|
I have tested this item 🔴 unsuccessfully on 3ba9fb2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
|
I have not tested this item. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
|
I have tested this item ✅ successfully on 3ba9fb2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
tecpromotion
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review.
|
I have tested this item ✅ successfully on 3ba9fb2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
|
I have tested this item ✅ successfully on 3ba9fb2 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46682. |
|
shouldnt this be for 6.1 |
|
@brianteeman #46683 for 6.1 |
|
@Bodge-IT my point was that this isnt a bug fix therefore it should be for 6.1 and not a patch release |
Summary of Changes
Same as #45644 for new plugin (fields note) of Joomla 6
Info: plugin fields number was fixed during upmerge commit f200a7d
Testing Instructions
Enable

Log Deprecated APIOpen view to add new custom field (
/administrator/index.php?option=com_fields&view=field&layout=edit&context=com_content.article)Check log file
administrator\logs\deprecated.phpActual result BEFORE applying this Pull Request
Log message
deprecated Passing an instance of Joomla\Event\DispatcherInterface to Joomla\CMS\Plugin\CMSPlugin::__construct() will not be supported in 7.0. Starting from 7.0 CMSPlugin class will no longer implement DispatcherAwareInterface. - [ROOT]\libraries\src\Plugin\CMSPlugin.php - Line 134Expected result AFTER applying this Pull Request
No log message
Link to documentations
Please select: