? Success

User tests: Successful: Unsuccessful:

avatar bertmert
bertmert
18 May 2016

Joomla 3.5.1

Summary of Changes

Brings back purge button to view discover of com_installer to be able to delete cached extensions with state -1 in database table xy_extensions.

Testing Instructions

  • Create folder /plugins/content/discovertest/
  • Create file /plugins/content/discovertest/discovertest.xml
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.5" type="plugin" group="content" method="upgrade">
<name>discovertest</name>
<files>
<filename plugin="discovertest">discovertest.php</filename>
</files>
</extension>
  • Backend: Goto administrator/index.php?option=com_installer&view=discover
  • Click button Discover.
  • New item in view/list: discovertest. Don't install!
  • Have a look in database table xyz_extensions
  • You'll see an entry (highest extension_id) with state -1 and name discovertest.

  • Delete new folder above.

  • Click button Discover.
  • Nothing has changed in list of view and in database. Still an entry discovertest (that's not installable).

  • Apply patch.

  • Click button Purge (EDIT: It's called Clear Cache) and check list and database that entry discovertest has been removed.
avatar bertmert bertmert - open - 18 May 2016
avatar bertmert bertmert - change - 18 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 18 May 2016
Labels Added: ?
avatar bertmert bertmert - change - 18 May 2016
The description was changed
avatar bertmert bertmert - change - 18 May 2016
The description was changed
avatar brianteeman
brianteeman - comment - 18 May 2016

Why / when was it removed


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

avatar brianteeman brianteeman - change - 18 May 2016
Category Installation
avatar Bakual
Bakual - comment - 18 May 2016

It has been removed with 389374f (JC: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30258)

Reason was that the purge function is now included into the find/discover method.

PS: That was merged for Joomla 3.1.0.

avatar bertmert bertmert - change - 18 May 2016
The description was changed
avatar brianteeman
brianteeman - comment - 18 May 2016

So there is no need to bring it back then?

On 18 May 2016 at 21:51, Thomas Hunziker notifications@github.com wrote:

It has been removed with 389374f
389374f
(JC:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30258
)

Reason was that the purge function is now included into the find/discover
method.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#10549 (comment)

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar bertmert
bertmert - comment - 18 May 2016

But it doesn't work. I searched inside code and couldn't find any call of method purge() or similiar code inside com_installer.

avatar mbabker
mbabker - comment - 18 May 2016

Just because it's not happening in com_installer doesn't mean it's not happening elsewhere.

avatar bertmert
bertmert - comment - 18 May 2016

We've tested all scenarios concerning this issue 2 hours because reported in a forum and are convinced that it's a bug. Clicking on button Discover doesn't purge database entries with state = -1.

avatar bertmert
bertmert - comment - 18 May 2016

See #10550

avatar bertmert bertmert - change - 18 May 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-05-18 22:39:11
Closed_By bertmert
avatar bertmert bertmert - close - 18 May 2016

Add a Comment

Login with GitHub to post a comment