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

Auch abrufbar als: Atom PDF