Install either one of attached extension language packs
Try to uninstall them
Joomla installer throws an error
Correct uninstallion
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.
Issue present in atleast Joomla! 3.4.3 and 3.4.4
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
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
Priority | Critical | ⇒ | Medium |
In the tutorial, it is clearly stated:
<!-- Please use a unique name to make uninstall to work. Should be identical to your manifest filename. -->
Perhaps, except i have no idea what you mean. I'm not the developer. I simply reported the issue
Status | New | ⇒ | Expected Behaviour |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-09-29 08:05:15 |
Closed_By | ⇒ | infograf768 |
Category | Language & Strings | ⇒ | Administration |
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.
Set to "closed" on behalf of @infograf768 by The JTracker Application at issues.joomla.org/joomla-cms/7968
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