HeptacomShopwarePlatformAdminOpenAuth icon indicating copy to clipboard operation
HeptacomShopwarePlatformAdminOpenAuth copied to clipboard

[Bug]: Ensure user is only created/modified, if update works as well and data is correct

Open AndreasA opened this issue 2 years ago • 1 comments

Plugin Version

4.2.1

PHP Version

8.1

Shopware Version

6.4.18.1

Installation method

Composer

Identity provider

Google Cloud

What happened?

It would probably be a good idea to put the whole user creation / update part in a database transaction with commit/rollback, so only upon success the user created / modified if everything works correctly.

Relevant log output

No response

AndreasA avatar Mar 08 '23 17:03 AndreasA

That is a good input. For this we need to validate, that we keep everything in that transaction. It is unlikely that we provide an update for the Shopware 6.4 plugin version as we are in a refactoring process for Shopware 6.5. But we keep that in mind in our refactoring, that we make this safer in its process.

JoshuaBehrens avatar Mar 09 '23 10:03 JoshuaBehrens