?
avatar WimVDK
WimVDK
28 Sep 2015

Steps to reproduce the issue

Install either one of attached extension language packs
Try to uninstall them
Joomla installer throws an error

Expected result

Correct uninstallion

Actual result

yellow warning:

warning

Files Uninstaller: the manifest file is invalid or it was not found.

and a green message:

Message:
an error occured during uninstallation of file

However the language pack WAS succesfully removed.

System information (as much as possible)

Issue present in atleast Joomla! 3.4.3 and 3.4.4

Additional comments

I've contacted the developer who's component i use to do my translations with and create extension packages. I've included the entire chat history

Extensions used: Freestyle Translation manager to do the translation and create extension language packages
Additional attachments:

zipfile containing

  • word document with developer ticket support chat history
  • extension language pack generated with the "Freestyle Translation Manager" (foxcontactbe.nl-BE.zip)

INFO DOWNLOAD LINK

https://goo.gl/pYgCnw

The problem:

The problem is in the file libraries\cms\installer\adapter\file.php. When installing a file package, it saves a copy of the xml manifest in the administrator/manifests/files folder with the same name of the file from the zip. When it comes to uninstall, the system assumes the manifest is in a file based upon the name of the package instead of what was installed so fails.

Workarround until the issue is fixed:

The only way around this is to name the manifest xml file based on the name

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar WimVDK WimVDK - open - 28 Sep 2015
avatar roland-d roland-d - change - 28 Sep 2015
Priority Critical Medium
avatar infograf768
infograf768 - comment - 29 Sep 2015

Formatting of an extension lang pack obey to certain rules

Here is an extension lang pack working as should: https://www.dropbox.com/s/94ouv3kvnsqsmql/josdewplayer_fr-FR_1.0v1.zip?dl=0

Name in the xml
josdewplayerfr-FR

name of zip

josdewplayer_fr-FR_1.0v1.zip

Name of manifest xml as it is saved after install:
josdewplayerfr-FR.xml

See also https://docs.joomla.org/J2.5:Making_non-core_language_packs

avatar infograf768
infograf768 - comment - 29 Sep 2015

In the tutorial, it is clearly stated:

<!-- Please use a unique name to make uninstall to work. Should be identical to your manifest filename. -->


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

avatar WimVDK
WimVDK - comment - 29 Sep 2015

Perhaps, except i have no idea what you mean. I'm not the developer. I simply reported the issue


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

avatar infograf768 infograf768 - change - 29 Sep 2015
Status New Expected Behaviour
Closed_Date 0000-00-00 00:00:00 2015-09-29 08:05:15
Closed_By infograf768
avatar joomla-cms-bot joomla-cms-bot - close - 29 Sep 2015
avatar infograf768 infograf768 - change - 29 Sep 2015
Category Language & Strings Administration
avatar infograf768
infograf768 - comment - 29 Sep 2015

Not an issue. it is part of the uninstall code and should be done correctly when creating file packages.

Closing as it is expected behavior.


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

avatar infograf768
infograf768 - comment - 29 Sep 2015

Add a Comment

Login with GitHub to post a comment