Projekt

Allgemein

Profil

Aktionen

GX-Bug #69310

geschlossen

In der gx_configurations Tabelle wird die Spalte `last_modified` nicht mit dem aktuellen Datum gefüllt, wenn man eine Option verändert

Von Till Tepelmann vor mehr als 2 Jahren hinzugefügt. Vor 9 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.4.0.3, 4.5.1.1
Release Notes Langtext:

In der Datenbanktabelle gx_configurations wird nun die Spalte last_modified mit dem aktuellen Datum gesetzt, wenn man im Gambio Admin eine Einstellung ändert


Beschreibung

In der gx_configurations Tabelle wird die Spalte last_modified nicht mit dem aktuellen Datum gefüllt, wenn man eine Option verändert

Kann wie folgt reproduziert werden:

  1. Gambio Admin öffnen
  2. Unter Inhalt->Shop online / offline den Shop offline stellen
  3. Über SQL in der Datenbank die Spalte last_modified in der Tabelle gx_configurations für den KEY gm_configuration/GM_SHOP_OFFLINE kontrollieren

Erwartetes Verhalten:
Wenn man eine Einstellung Shop Offline oder jede andere Opiton unter "Einstellungen" verändert, sollte das aktuelle Datum in die Spalte last_modified eingetragen werden

Tatsächliches Verhalten:
Das Datum in der Spalte last_modified wird nicht in der Tabelle gx_configurations aktualisiert, wenn man eine Option verändert.

Es fehlt in der Datenbankstruktur der Eintrag:
last_modified timestamp NOT NULL ON UPDATE CURRENT_TIMESTAMP DEFAULT CURRENT_TIMESTAMP,


In the gx_configurations table the column last_modified is not filled with the current date when changing an option

Can be reproduced as follows:

  1. open Gambio Admin
  2. under Content->Shop online / offline set the store offline
  3. check via SQL in the database the column last_modified in the table gx_configurations for the KEY gm_configuration/GM_SHOP_OFFLINE

Expected behavior:
When changing a setting Shop Offline or any other opiton under "Settings", the current date should be entered in the column last_modified

Actual behavior:
The date in the last_modified column is not updated in the gx_configurations table when one changes an option.

The entry is missing in the database structure:
last_modified timestamp NOT NULL ON UPDATE CURRENT_TIMESTAMP DEFAULT CURRENT_TIMESTAMP,


Aktionen

Auch abrufbar als: Atom PDF