? Success

User tests: Successful: Unsuccessful:

avatar Chraneco
Chraneco
20 May 2015

When installing extensions of type file their element name (stored in the database) is not chosen correctly. Right now it uses the name of the extension which causes problems when trying to uninstall the extension again.

This pull request changes the installer so that it uses the same approach as for extensions of type library: The manifest file name is used for the element name.

Test Instructions

Before applying the patch, install the attached test file extension and uninstall it again. This will fail with the message Files Uninstall: Manifest file invalid or not found..
Then, apply the patch and do the same again. This time it will work.

EDIT: Unfortunately, it's not allowed to upload zip archives here, so I'm including the used manifest file here:

<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="3.0" method="upgrade">
  <name>Nice Human Readable Extension 3</name>
  <creationDate>2013/02/11</creationDate>
  <author>JoomGallery::ProjectTeam</author>
  <copyright>This component is released under the GNU/GPL License</copyright>
  <authorEmail>test@test.com</authorEmail>
  <authorUrl>http://test.net</authorUrl>
  <version>1.0 BETA</version>
  <description>Sample description</description>
  <fileset>
    <files target="components/com_content/views">
      <file>test.php</file>
    </files>
  </fileset>
</extension>
avatar Chraneco Chraneco - open - 20 May 2015
avatar Chraneco Chraneco - change - 20 May 2015
The description was changed
avatar Chraneco
Chraneco - comment - 20 May 2015

#6532 only changes the loading of language files. My example uses an extension without any language files.


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

avatar mbabker
mbabker - comment - 20 May 2015

I realized after I posted it was a different change, which is why the comment is deleted (at least on GitHub).

avatar zero-24 zero-24 - change - 20 May 2015
Status New Pending
avatar zero-24 zero-24 - change - 20 May 2015
Category Libraries
avatar zero-24 zero-24 - change - 20 May 2015
Labels Added: ?
avatar brianteeman brianteeman - test_item - 13 Apr 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 13 Apr 2016

I have tested this item :white_check_mark: successfully on 96eb658


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

avatar brianteeman brianteeman - change - 14 Apr 2016
Easy No Yes
avatar waader waader - test_item - 15 Apr 2016 - Tested successfully
avatar waader
waader - comment - 15 Apr 2016

I have tested this item :white_check_mark: successfully on 96eb658


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

avatar brianteeman brianteeman - change - 15 Apr 2016
Status Pending Ready to Commit
avatar brianteeman
brianteeman - comment - 15 Apr 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 15 Apr 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 15 Apr 2016
Labels
avatar brianteeman
brianteeman - comment - 15 Apr 2016

Committer please decide if this is a new feature or a bug fix - cant decide myself


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

avatar rdeutz rdeutz - change - 15 Apr 2016
Milestone Added:
avatar rdeutz rdeutz - change - 2 May 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-05-02 06:00:14
Closed_By rdeutz
avatar rdeutz rdeutz - close - 2 May 2016
avatar rdeutz rdeutz - merge - 2 May 2016
avatar joomla-cms-bot joomla-cms-bot - close - 2 May 2016
avatar joomla-cms-bot joomla-cms-bot - change - 2 May 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment