Move the MySQL exception in UserStorage to the mysql module

Created on 7 January 2022, almost 3 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

All database specific code belongs in the mysql, pgsql or sqlite module. Just like contrib database driver module need to do. The core database driver modules are the example for the contrib ones.
In the class Drupal\user\UserStorage, there is a MySQL exception which should be moved to the mysql module.

Proposed resolution

Move the MySQL exception in UserStorage to the mysql module.

Remaining tasks

TBD

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

TBD

πŸ“Œ Task
Status

Needs work

Version

10.0 ✨

Component
User moduleΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡³πŸ‡±Netherlands daffie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands arantxio Dordrecht

    I've been working on this yesterday and created a patch.

    Alot of test will probably fail, I also tested it when creating a new site, and because the mysql module was created before user module it threw a error because the user service was not yet available. We will probably have to look into this, if we want to make it a service.

  • πŸ‡³πŸ‡±Netherlands arantxio Dordrecht

    Fixed the phpcs coding standards.

  • πŸ‡³πŸ‡±Netherlands arantxio Dordrecht

    Missed one and also fixed a spelling mistake.

Production build 0.71.5 2024