[com_joomlaupdate] Check for minimum supported database type and version#12355
[com_joomlaupdate] Check for minimum supported database type and version#12355rdeutz merged 7 commits intojoomla:stagingfrom
Conversation
| JLIB_INSTALLER_ABORT_TPL_INSTALL_UNKNOWN_CLIENT="Template Install: Unknown client type [%s]" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_PHP_VERSION="For the extension %1$s version %2$s is available, but it requires at least PHP version %3$s while your system only has %4$s" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_DB_MINIMUM="For the extension %1$s version %2$s is available, but your current database %3$s in version %4$s is not supported please contact your host in to update you Databseversion at least to version %5$s" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_DB_TYPE="For the extension %1$s version %2$s is available, but your current database %3$s is not supported anymore" |
There was a problem hiding this comment.
Add a full stop at the end
| JLIB_INSTALLER_ABORT_TPL_INSTALL_ROLLBACK="Template Install: %s" | ||
| JLIB_INSTALLER_ABORT_TPL_INSTALL_UNKNOWN_CLIENT="Template Install: Unknown client type [%s]" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_PHP_VERSION="For the extension %1$s version %2$s is available, but it requires at least PHP version %3$s while your system only has %4$s" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_DB_MINIMUM="For the extension %1$s version %2$s is available, but your current database %3$s in version %4$s is not supported please contact your host in to update you Databseversion at least to version %5$s" |
There was a problem hiding this comment.
Lets fix the germish ;)
+JLIB_INSTALLER_AVAILABLE_UPDATE_DB_MINIMUM="For the extension %1$s version %2$s is available, but your current database %3$s is version %4$s and is not supported. Please contact your web host to update you Database version to at least version %5$s."
|
Thanks fixed @brianteeman |
|
Tried to test this but at this point I get the "We can't find a download URL" message |
|
@brianteeman yes this is the correct message. On writing the instructions i did not had the title in my mind. |
Is there any way I can test this? Maybe you can force it to look for a minimum requirement of 9.9? |
|
i have just fixed the instructions thanks!
99.5.3 is used in test 2. ;) -> The reason you don't get the update The 3. is just a test to make sure nothing breaks and you get the update if you meat the requirements |
|
That are 2 different errors ;) The first one is from the test report extension (see: #12258) and the seccond warning is my warning so everything works as expected. |
| JLIB_INSTALLER_ABORT_TPL_INSTALL_ROLLBACK="Template Install: %s" | ||
| JLIB_INSTALLER_ABORT_TPL_INSTALL_UNKNOWN_CLIENT="Template Install: Unknown client type [%s]" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_PHP_VERSION="For the extension %1$s version %2$s is available, but it requires at least PHP version %3$s while your system only has %4$s" | ||
| JLIB_INSTALLER_AVAILABLE_UPDATE_DB_MINIMUM="For the extension %1$s version %2$s is available, but your current database %3$s is version %4$s and is not supported. Please contact your web host to update you Database version to at least version %5$s." |
There was a problem hiding this comment.
oops - my fault - missed one
to update you Database version
==>
to update your Database version
|
OK - all good then. - But they are warnings - should they be errors? Also I missed a typo On 8 October 2016 at 21:55, zero-24 notifications@github.com wrote:
Brian Teeman |
Thanks!
I can do both i have set is at warning as the PHP Minimum message is also just a warning. |
|
I have tested this item ✅ successfully on a2647cd This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12355. |
|
OK - I am not bothered myself if its a warning or error On 8 October 2016 at 22:02, zero-24 notifications@github.com wrote:
Brian Teeman |
| ); | ||
|
|
||
| JFactory::getApplication()->enqueueMessage($dbMsg, 'warning'); | ||
|
|
|
I have tested this item ✅ successfully on ce23227 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12355. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12355. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12355. |
|
Thanks! |
|
I have just added the option |

Pull Request for Issue #12351
Summary of Changes
This implements a minimum database feature into com_joomlaupdate so we can check for minimum supported database version per type
Testing Instructions
First Please review the code.
Test the Core
http://www.jah-tz.de/downloads/core/nightlies/next_minor_list.xmlhttp://www.jah-tz.de/downloads/core/nightlies/next_minor_list2.xmlWe can't find a download URL ....message in com_joomlaupdatehttp://www.jah-tz.de/downloads/core/nightlies/next_minor_list3.xmlTest Extensions
http://www.jah-tz.de/downloads/core/extensions/plg_dbminimum/plg_dbminimum.xml(see: Backend -> Extensions -> Manage -> Update Sites)Documentation Changes Required
Document the new tag if implemented as this can also be used by 3party extensions