User tests: Successful: Unsuccessful:
Pull Request for Issue #18543
This implements a basic fallbackdownloadurl support for com_joomlaupdate
https://www.jah-tz.de/downloads/core/updateserver/list.xml
Joomla can be updated using a fallbackurl
Joomla can not be updated using a fallbackurl and Joomla told you that we need to use a fallback.
@mbabker can you take a look into the implementation?
Given the magic that is done in the updater code this works for me but maybe you can give some feedback / review on this?
Please take a look into the language strings. I hope that you understand what i want to say with the current strings. I know that this is not a good wording but I think we should told our users that we used a fallback url and that the download of the primary update package failed. Can you please review and suggest a better wording?
On the update server part we need to define the fallback like this:
<update>
<name>Joomla! 3.8</name>
<description>Joomla! 3.8 CMS</description>
<element>joomla</element>
<type>file</type>
<version>3.8.3</version>
<infourl title="Joomla!">https://www.joomla.org/announcements/release-news/5716-joomla-3-8-2-release.html</infourl>
<downloads>
<fallbackdownloadurl type="full" format="zip">https://downloads.joomla.org/cms/joomla3/3-8-2/Joomla_3.8.2-Stable-Update_Package.zip</fallbackdownloadurl>
<downloadurl type="full" format="zip">https://downloads.joomla.org/test.html</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<maintainer>Joomla! PLT</maintainer>
<maintainerurl>https://www.joomla.org</maintainerurl>
<section>STS</section>
<targetplatform name="joomla" version="3.[78]" />
<php_minimum>5.3.10</php_minimum>
</update>
please note the following line:
<fallbackdownloadurl type="full" format="zip">https://downloads.joomla.org/cms/joomla3/3-8-2/Joomla_3.8.2-Stable-Update_Package.zip</fallbackdownloadurl>
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_joomlaupdate Language & Strings |
@zero-24 thank you for PR. When it will be finalized definitely will test.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-12-02 19:11:10 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
?
|
@zero-24 I understand what you mean - it could be improved. I will think about it over the next few days when i get home from WebSummit