Projekt

Allgemein

Profil

Aktionen

GX-Abgewiesen #63143

geschlossen

Offline-Nachricht des Timers (Cronjob) überschreibt Offline-Nachricht des 'Shopstatus' / offline message of the timer (cronjob) overwrites offline message of the 'Actual Shopstatus'

Von Ulrich Wenk vor fast 5 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Abgewiesen
Priorität:
Normal
Zugewiesen an:
Julian Heckmann
Kategorie:
Adminbereich
Zielversion:
-
Beginn:
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Release Notes Langtext:

Beschreibung

Preconditions:

have a freshly installed shop ready for seeing the initial condition, otherwise an older, used shop-installation will also work

Short form: there are two shop-offline notifications, one for switching the shop offline manually and one for the cronjob. The manual one functions fine, the cronjob one is very unintuitive and overwrites the manual one. It is very prone to user errors.

1. normal behaviour

  1. open Layout / Design > Shop online/Offline
  2. notice: an offline-message-default-text is displayed (in german), the text has a 'a href' for admin login
  3. change the actual shopstatus to 'off', hit save
  4. go to the frontend (as normal customer, not admin)
  5. the offline message and admin login-button are displayed
  6. go back to the backend and switch the shop back on, hit save

2. problematic behaviour

  1. open Layout / Design > Shop online/Offline
  2. in the timer-section configure a timer for setting the shop offline, choose a time a few minutes in the past for seeing the changes immidiately
  3. 'forget' to edit the 'offline modal' (by not clicking on the pen displayed beside the 'set offline switch' once it's activated)
  4. click on 'add'
  5. copy the displayed cronjob-url into the adress-bar of your browser (in an new tab), hit enter --> cronjob got run once (if the selected time is in the past)
  6. go to the frontend (as normal customer, not admin)
  • expected result: the offline message from above is displayed
  • actual result: nothing is displayed, admin cannot login (if login_admin.php is unknown to the user) --> NOT OK
  1. go back to the backend Layout / Design > Shop online/Offline (if logged out --> login_admin.php)
  2. notice: the default offline message got overwritten by the cronjob message. If failed to set a message for cronjob the default message is now completely empty. also there is no 'a href' for admin login anymore. --> NOT OK

Summary: The cronjob-offline-message overwrites the manual offline message, apparently for no reason. Maybe only one offline message is needed for manual and cronjob offline status.


Aktionen #1

Von Ulrich Wenk vor fast 5 Jahren aktualisiert

  • Thema wurde von Offline-Nachricht des Timers (Cronjob) überschreibt Offline-Nachricht des 'Shopstatus' + kein default-Text in englischer Sprache / offline message of the timer (cronjob) overwrites offline message of the 'Actual Shopstatus' + no default text in english zu Offline-Nachricht des Timers (Cronjob) überschreibt Offline-Nachricht des 'Shopstatus' / offline message of the timer (cronjob) overwrites offline message of the 'Actual Shopstatus' geändert
Aktionen #2

Von Julian Heckmann vor mehr als 3 Jahren aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Julian Heckmann gesetzt
Aktionen #3

Von Julian Heckmann vor mehr als 3 Jahren aktualisiert

  • Tracker wurde von GX-Bug zu GX-Abgewiesen geändert
  • Status wurde von In Bearbeitung zu Abgewiesen geändert
  • Betroffene Versionen 3.13.2.0 beta1 wurde gelöscht

I can't reproduce the issue, for me it takes the custom offline message.

Aktionen #4

Von Moritz Bunjes vor mehr als 2 Jahren aktualisiert

  • Zielversion 133 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF