Projekt

Allgemein

Profil

Aktionen

GX-Bug #67575

geschlossen

No CSS after saving in StyleEdit 4

Von Moritz Bunjes vor mehr als 3 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Ahmed Hamouda
Kategorie:
StyleEdit 4
Zielversion:
% erledigt:

0%

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

Beim Beenden von StyleEdit 4 wird das Vorschau-Thema nicht mehr gelöscht.


Beschreibung

The CSS cannot be compiled after saving in StyleEdit 4.

The problem is a race condition. After clicking the EXIT button in SE4, several async http requests are sent. The GET request to dynamic_theme_style.css.php is sent in parallel to the the DELETE request for the Malibu_preview theme, but the DELETE request is finished before the GET requests is done. The GET requests builds a new theme in the public folder, which is deleted immediately by the DELETE request before the GET request included all the files from the public directory to generate the CSS. I guess StyleEdit has to wait until the DELETE request is finished, before closing and redirecting to the shop.

Because it's a race condition, I may not be reproducable in all environments. On my PC it happens always.


Dateien

2020-09-01_14-37.png (45,5 KB) 2020-09-01_14-37.png Moritz Bunjes, 01.09.2020 14:37
2020-09-01_14-33.png (296 KB) 2020-09-01_14-33.png Moritz Bunjes, 01.09.2020 14:37

Aktionen

Auch abrufbar als: Atom PDF