J3 Issue ?
Referenced as Duplicate of: # 13279
avatar UWiX-nl
UWiX-nl
19 Dec 2016

Steps to reproduce the issue

  1. Go to Backend->Extensions->Manage->Manage and (un)publish an Extension item e.g. "Articles - Archived".
  2. Try to catch the event using OnContentChangeState in a Plugin (why this event? 'cause every other changestate works through this event - so it's expected to use this one ;-) ).

Expected result

The plugin function should be triggered.

Actual result

No result because the trigger does not exists for (un)publishing extensions.

System information (as much as possible)

PHP Version 7.0.9
Web Server Apache 2.4.23 (Win32)
Joomla! version 3.6.5
User Agent Mozilla/5.0 (Windows NT 6.3; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

Additional comments

Suggestion to add a trigger event to administrator/components/com_installer/models/manage.php called OnExtensionChangeStage. Add the following code at line 140:

$context = $this->option . '.' . $this->name;
JEventDispatcher::getInstance()->trigger('onExtensionChangeState', array($context, $eid, $value));

The event name onContentChangeState is not logical because this event must be started from within a System plugin (if I am right).

avatar UWiX-nl UWiX-nl - open - 19 Dec 2016
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Dec 2016
avatar rvbgnu
rvbgnu - comment - 3 Jun 2017

Hi @UWiX-nl is this still relevant?
@nibra

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

set Status on "Information Required"


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

If this PR get no Response, it will be closed at 23th July 2017.

avatar mbabker
mbabker - comment - 22 Jun 2017

This issue is still relevant because nobody has implemented the requested feature.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

@mbabker how to manage this?

avatar mbabker
mbabker - comment - 22 Jun 2017

Leave it open. It's a valid outstanding feature request. Either someone will implement it, or a leadership decision gets made at some point that says "sorry, we aren't interested in this" and we close it, or it just sits here collecting dust.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Jun 2017

i'm no Fan of closing Issues and sure it stays open. It's more about how to manage to get a Decision.

avatar mbabker
mbabker - comment - 22 Jun 2017

Nobody from leadership has closed it as a "sorry, we aren't interested" item. So it's up for grabs if someone wants to write the code for this.

avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Aug 2017
Status Information Required Discussion
avatar brianteeman brianteeman - change - 5 Feb 2018
Title
onChangeStage for Extension Manager not present.
onChangeState for Extension Manager not present.
avatar brianteeman brianteeman - edited - 5 Feb 2018
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Aug 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-08-18 16:39:53
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 18 Aug 2018
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 18 Aug 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 18 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Aug 2018

closed as having Pull Request #21693

Add a Comment

Login with GitHub to post a comment