Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ECP-8904] Reinstallation flow not working #426

Open
wannevancamp opened this issue Oct 12, 2023 · 1 comment
Open

[ECP-8904] Reinstallation flow not working #426

wannevancamp opened this issue Oct 12, 2023 · 1 comment
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@wannevancamp
Copy link
Contributor

Describe the bug
After reinstalling the plugin not all destructive migrations are processed correctly.
The migration src/Migration/Migration1681716164AlterAdyenPayment.php will try to alter the table twice. This will result in the following error. The plugin installation can't be completed.

This occurs since plugin version3.11.0.

[2023-10-12T06:30:13.498646+00:00] app.ERROR: Migration: "Adyen\Shopware\Migration\Migration1681716164AlterAdyenPayment" failed: "An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'UQ_ADYEN_PAYMENT_PSPREFERENCE'" [] []

Versions
Shopware version: 6.5.1.1
Plugin version: 3.14.1

To Reproduce
Steps to reproduce the behavior:

  1. Install plugin
  2. Deinstall plugin
  3. Install plugin again
  4. Error is thrown

Expected behavior
Reinstall plugin without errors

@hossam-adyen hossam-adyen self-assigned this Dec 19, 2023
@hossam-adyen hossam-adyen added the Bug report Indicates that issue has been marked as a possible bug label Jan 15, 2024
@hossam-adyen
Copy link
Contributor

Hi @wannevancamp, thanks for your valuable contribution, we were able to reproduce it, we add it into our backlog and once it got picked and fix, we will update the issue

@hossam-adyen hossam-adyen changed the title Reinstallation flow not working [ECP-8904] Reinstallation flow not working Jan 15, 2024
@hossam-adyen hossam-adyen removed their assignment Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
Development

No branches or pull requests

2 participants