?
avatar jlainezs
jlainezs
15 Feb 2016

Steps to reproduce the issue

  1. Install catalan language pack (I did for frontend and backend).
  2. Go to the control panel and let Joomla to check for updates. A pending update is shown. Click the link on the bottom left and an update for catalan language pack should appear.
  3. Apply the update.
  4. Go to the control panel and let Joomla to check for updates again. A pending update is reported. Click the link on the bottom left any you will see the same pending package you installed before.

Expected result

  1. When the update is installed you expect to not apply it again.
  2. After updating the language pack the package version should be 3.4.4.2

Actual result

  1. The catalan language package is always pending of update.
  2. After updating the language pack version shown on component management is 3.4.4.1

System information (as much as possible)

  1. Ubuntu server on vagrant VM (found the same issue under Ubuntu server on a phisical machine)
  2. Apache 2.4.16
  3. PHP 5.6.14
  4. MySQL 5.5
  5. Joomla 3.4.8
  6. Joomla Platform 13.1.0

Additional comments

There's an inconsistency between the update manifest and the downloaded package manifest. While the first says:

<update>
<name>Catalan</name>
<description>Catalan Translation of Joomla!</description>
<element>pkg_ca-ES</element>
<type>package</type>

<version>3.4.4.2</version>
<downloads>
<downloadurl type="full" format="zip">http://joomlacode.org/gf/download/frsrelease/20123/162726/ca-ES_joomla_lang_full_3.4.4v2.zip</downloadurl>
</downloads>
<targetplatform name="joomla" version="3.[012345]"/>
</update>

the second says

<version>3.4.4.1</version>

I think that fixing the package manifest will solve the issue.

Maybe the updater should take in consideration this kind of incosistencies and doesn't allow to update an extension with different versions on the update manifest and in the install manifest.

avatar jlainezs jlainezs - open - 15 Feb 2016
avatar infograf768
infograf768 - comment - 15 Feb 2016

Please contact the Catalan Translation Coordinator:
http://community.joomla.org/translations/joomla-3-translations.html#ca-es

Not a core issue.

avatar infograf768 infograf768 - change - 15 Feb 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-02-15 08:07:23
Closed_By infograf768
avatar infograf768
infograf768 - comment - 15 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - close - 15 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - close - 15 Feb 2016
avatar infograf768
infograf768 - comment - 15 Feb 2016

Closed as not core.


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

avatar jlainezs
jlainezs - comment - 15 Feb 2016

Hi,

thanks for your fast reaction. I will contact them.
On the last line of the issue 'Additional comments' I say:

Maybe the updater should take in consideration this kind of
incosistencies and doesn't allow to update an extension with different
versions on the update manifest and in the install manifest.

Should I open an issue for this?

Regards,
Pep Lainez

------ Original Message ------
From: "infograf768" notifications@github.com
To: "joomla/joomla-cms" joomla-cms@noreply.github.com
Cc: "Pep Lainez" jlainezs@gmail.com
Sent: 15/2/2016 9:06:30
Subject: Re: [joomla-cms] Package for Catalan language is always pending
for update (#9124)

Please contact the Catalan Translation Coordinator:
http://community.joomla.org/translations/joomla-3-translations.html#ca-es

Not a core issue.


Reply to this email directly or view it on GitHub.

avatar infograf768
infograf768 - comment - 15 Feb 2016

@jlainezs
The error has to be corrected in the package.
Not sure we can disallow the update proposal as the package manifest saved in core will always be different from the .zip update.xml when there is a real update.

Add a Comment

Login with GitHub to post a comment