Projekt

Allgemein

Profil

Aktionen

GX-Bug #70136

geschlossen

Fehlender Eintrag MODULE_PAYMENT_EUTRANSFER_SORT_CODE, verhindert Bestellungen unter PHP 8

Von Till Tepelmann vor mehr als 1 Jahr hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Marvin Muxfeld
Kategorie:
Updater
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.7.1.2
Release Notes Langtext:

Eine fehlende Konfiguration für die "EU-Standardüberweisung" wird jetzt über den Gambio-Updater hinzugefügt.


Beschreibung

Fehlender Eintrag MODULE_PAYMENT_EUTRANSFER_SORT_CODE, verhindert Bestellungen unter PHP 8

Kann wie folgt reproduziert werden:

  1. Shop 4.0 installieren
  2. Gambio Admin öffnen
  3. Unter Module->Zahlungsweisen->Sonstige das Modul eustandardtransfer installieren
  4. KU auf 4.7.1.2 installieren
  5. PHP Version auf 8.0 oder 8.1 umstellen
  6. Testbestellung durchführen

Erwartetes Ergebnis:
Wenn man das Modul eustandardtransfer vor einem Update bereits installiert hatte, sollte der Bestellvorgang weiterhin unter PHP 8 funkktionieren und der Eintrag MODULE_PAYMENT_EUTRANSFER_SORT_CODE sollte während des Updates hinzugefügt werden

Tatsächliches Ergebnis:
Beim Update wird der Eintrag MODULE_PAYMENT_EUTRANSFER_SORT_CODE nicht hinzugefügt, sodass der Bestellvorgang bei installiertem Modul eustandardtransfer und PHP 8 nicht funktioniert


Missing MODULE_PAYMENT_EUTRANSFER_SORT_CODE entry, prevents orders under PHP 8.

Can be reproduced as follows:

  1. install Shop 4.0
  2. open Gambio Admin
  3. install the module eustandardtransfer under Modules->Modes of Payment->Other
  4. install KU on 4.7.1.2
  5. change PHP version to 8.0 or 8.1
  6. perform test order

Expected result:
If you had already installed the eustandardtransfer module before an update, the order process should still work under PHP 8 and the MODULE_PAYMENT_EUTRANSFER_SORT_CODE entry should be added during the update.

Actual result:
During the update, the MODULE_PAYMENT_EUTRANSFER_SORT_CODE entry is not added, so the order process does not work with the eustandardtransfer module and PHP 8 installed.


How to test the fix:

  1. Install a fresh shop using PHP >= 8
  2. Go to Admin > Modules > Payment Systems > Miscellaneous (tab)
  3. Install the "EU Standard Bank Transfer" and activate the module
  4. Check if the "configuration/MODULE_PAYMENT_EUTRANSFER_SORT_CODE" exists by running the query: sql SELECT * FROM `gx_configurations` WHERE `key` = 'configuration/MODULE_PAYMENT_EUTRANSFER_SORT_CODE';
  5. If it exists, delete the entry
  6. Run the gambio_updater, and force the version selection to v4.7.1.2

Result: the "configuration/MODULE_PAYMENT_EUTRANSFER_SORT_CODE" should have been added again and the orders can be placed without errors


Aktionen

Auch abrufbar als: Atom PDF