Projekt

Allgemein

Profil

GX-Bug #67575

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

The CSS cannot be compiled after saving in StyleEdit 4. 

 The problem is a race condition. After saving in SE4, several async http requests are sent. The GET request to dynamic_theme_style.css.php is executed before 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.

Zurück