? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
5 Sep 2020

Summary of Changes

Fixes legacy plugins being registered as modern plugins when method takes $event argument.

Testing Instructions

install and enable this plugin: plg_system_dummy.zip.

Actual result BEFORE applying this Pull Request

Argument 1 passed to PlgSystemDummy::onDummyTest() must be of the type string, object given

Expected result AFTER applying this Pull Request

No errors.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 5 Sep 2020
avatar SharkyKZ SharkyKZ - change - 5 Sep 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Sep 2020
Category Libraries
avatar SharkyKZ SharkyKZ - change - 5 Sep 2020
Labels Added: ?
avatar SharkyKZ SharkyKZ - change - 15 Sep 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 15 Sep 2020
avatar SharkyKZ SharkyKZ - change - 15 Sep 2020
The description was changed
avatar SharkyKZ SharkyKZ - edited - 15 Sep 2020
avatar ChristineWk
ChristineWk - comment - 16 Sep 2020

@SharkyKZ

Installed dummy plugin. Joomla 4.0.0-beta4
Before Patch:
0 Argument 1 passed to PlgSystemDummy::onDummyTest() must be of the type string, object given, called in /......./libraries/vendor/joomla/event/src/Dispatcher.php on line 495

Couldn't return to Dashboard & now site is broken.
Will install tomorrow a new fully nightly (4.0.0-beta5)


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

avatar SharkyKZ
SharkyKZ - comment - 17 Sep 2020

That's expected behavior before patch.

avatar ChristineWk ChristineWk - test_item - 17 Sep 2020 - Tested successfully
avatar ChristineWk
ChristineWk - comment - 17 Sep 2020

I have tested this item successfully on 7e7b73c


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

avatar ChristineWk
ChristineWk - comment - 17 Sep 2020

That's expected behavior before patch.

Of course, the message before patch was expected, but not, that my site becomes complety broken.

What I did:
At first I deleted the dummy plugin via phpMyAdmin successfully & backend was available again.
The possibility for an update tor 4.0.0-beta5 was shown > but unsuccessful, because got: AJAX Loading error ...
(Correct server nightly xml)

Therefore I deleted space/database and installed fully nightly 4.0.0-beta5 plus Patchtester etc.
Then activated this Patch (did not check now message before Patch :-)
Installed your Dummy plugin and Result: No failure/message.

avatar ChristineWk
ChristineWk - comment - 17 Sep 2020

Hmmm: After successful Patch (see above) I reverted it and got the failure again. Backend broken now.
Will try to delete dummy Plugin via phpMyAdmin again.

For other testers: Please before reverting Patch: de-active Plugin ....


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

avatar SharkyKZ
SharkyKZ - comment - 17 Sep 2020

I hope you're not testing on live site ?

avatar ChristineWk
ChristineWk - comment - 17 Sep 2020

I hope you're not testing on live site ?

It's a live site (space), but for testing purposes only of course :-)
Will never forget your plugin -hv deleted it now :-)

avatar jwaisner jwaisner - test_item - 22 Sep 2020 - Tested successfully
avatar jwaisner
jwaisner - comment - 22 Sep 2020

I have tested this item successfully on 7e7b73c


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

avatar jwaisner jwaisner - change - 22 Sep 2020
Status Pending Ready to Commit
avatar jwaisner
jwaisner - comment - 22 Sep 2020

RTC


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

avatar laoneo
laoneo - comment - 29 Sep 2020

Conflicts here...

avatar SharkyKZ SharkyKZ - change - 29 Sep 2020
Labels Added: ?
avatar SharkyKZ
SharkyKZ - comment - 29 Sep 2020

Conflicts fixed.

avatar SharkyKZ
SharkyKZ - comment - 29 Sep 2020

Last commit changes condition order for optimization. No change in functionality.

avatar laoneo laoneo - change - 29 Sep 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-09-29 11:08:21
Closed_By laoneo
avatar laoneo laoneo - close - 29 Sep 2020
avatar laoneo laoneo - merge - 29 Sep 2020
avatar laoneo
laoneo - comment - 29 Sep 2020

Thanks!

Add a Comment

Login with GitHub to post a comment