Page MenuHomeIn-Portal Phabricator

INP-1873 - Support MySQL 8 database collations
AcceptedPublic

Authored by alex on Aug 5 2024, 7:38 AM.

Details

Reviewers
erik
Test Plan

Part 1

  1. delete the /system/config.php file
  2. open the /core/install.php in the Web Browser
  3. perform clean install
  4. on the Database Configuration step:
    1. select Database Collation that doesn't match your MySQL Server version
    2. attempt to proceed to the next installation step
    3. confirm, that a validation error appeared
    4. select Database Collation that does match your MySQL Server version
    5. attempt to proceed to the next installation step
    6. confirm, that no validation error appeared and both DBCharset and DBCollation keys of the /system/config.php are non-empty

Part 2

  1. open the /core/install.php in the Web Browser
  2. select Update Database Configuration option and proceed to the next step
  3. on the Update Database Configuration step:
    1. select Database Collation that doesn't match your MySQL Server version
    2. attempt to proceed to the next installation step
    3. confirm, that a validation error appeared
    4. select Database Collation that does match your MySQL Server version
    5. attempt to proceed to the next installation step
    6. confirm, that no validation error appeared and both DBCharset and DBCollation keys of the /system/config.php are non-empty

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint WarningsExcuse: Unrelated.
SeverityLocationCodeMessage
Warningcore/install.php:548PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
No Unit Test Coverage
Build Status
Buildable 1278
Build 1278: arc lint + arc unit

Event Timeline

alex created this revision.Aug 5 2024, 7:38 AM
alex requested review of this revision.Aug 5 2024, 7:38 AM
alex added a project: Restricted Project.Aug 5 2024, 7:38 AM
erik accepted this revision.Aug 5 2024, 9:38 AM
This revision is now accepted and ready to land.Aug 5 2024, 9:38 AM