Projekt

Allgemein

Profil

Aktionen

GX-Feature #67354

geschlossen

ThemeWriter class is not thread safe

Von Jonatas Fischer vor fast 4 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Julian Heckmann
Kategorie:
Core
Zielversion:
% erledigt:

0%

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

Die Erzeugung des Theme-Caches funktioniert nun auch, wenn sie mehrmals gleichzeitig ausgelöst wird


Beschreibung

The class ThemeWriter is not thread safe.
Since ThemeWriter create files on the filesystem in a specific directory and the creation of a theme is triggered on many different points, the routine must be converted into thread safe in order to avoid it to create invalid templates.

There is no easy way of replicating the problem because PHP it would require to trigger 2 template creation at the same time.


Aktionen

Auch abrufbar als: Atom PDF