GX-Bug #67575
geschlossenNo CSS after saving in StyleEdit 4
0%
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