User tests: Successful: Unsuccessful:
Partial Pull Request for Issue #40444 only the db schema part
added the schema check
see #40444
N/A
Schema is checked and Update is not able to proceed if there is a database structure issue
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
Category | ⇒ | Libraries |
Status | New | ⇒ | Pending |
Labels |
Added:
PR-4.3-dev
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-04-24 10:29:06 |
Closed_By | ⇒ | alikon |
I don't think this PR is sufficient. In the issue, the not matching schema version was just an example for causing a database error. But the check in the update component includes a complete schema check like it is executed when you go to the database checker in backend. The not matching schema version in the issue was just an easy example how to cause a schema error. But it is not the only possible error. E.g. when you add a new update SQL script to your installation which creates a new table, it would result in a schema error shown by the database checker, and this would block the update in the pre-update checker, too.