Move the MySQL exception in UserStorage to the mysql module

Created on 7 January 2022, over 2 years ago
Updated 24 January 2023, over 1 year 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 1 day 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.69.0 2024