-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[com_joomlaupdate] Check for minimum supported database type and version #12355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops - my fault - missed one
to update you Database version
==>
to update your Database version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed: a2647cd
|
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 [email protected] 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 [email protected] wrote:
Brian Teeman |
| ); | ||
|
|
||
| JFactory::getApplication()->enqueueMessage($dbMsg, 'warning'); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One empty line too much ;)
|
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