Look at onExtensionBeforeUpdate. It doesn't contain the extension ID that is about to be updated!!
I have the extension ID to manipulate anything I need to
I don't have the extension ID and I feel sadness
Joomla 3.7
N/A. Report by @wilsonge
| Labels |
Added:
?
|
||
This is the line that needs to be changed :)
This is the line that needs to be changed :)
by?
| Category | ⇒ | com_plugins |
| Status | New | ⇒ | Confirmed |
| Status | Confirmed | ⇒ | Discussion |
| Labels |
Added:
J3 Issue
|
||
| Labels |
Added:
?
|
||
| Labels |
Removed:
?
|
||
As far as I see the extension id is unknown yet when onExtensionBeforeUpdate is triggered. Thus it must be calculated in the plugin itself based upon the manifest data with a db query OR the logic of the core Installer/Update process must be changed significantly.
I just flew over the code and don't see a practicable/acceptable way.
Objection welcome ;-)
With other words: I would close tis issue but I'm not sure.
| Status | Discussion | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-06-01 09:46:59 |
| Closed_By | ⇒ | franz-wohlkoenig |
Confirmed at London super sprint
On Sat, 21 Jan 2017 at 21:25, Phil Walton notifications@github.com wrote: