Projekt

Allgemein

Profil

Aktionen

GX-Abgewiesen #69723

geschlossen

A new class that is only called statically should be able to be loaded without clearing the cache | Eine neue Klasse, die nur statisch aufgerufen wird, sollte ohne Cache leeren geladen werden können

Von Moritz Bunjes vor etwa 2 Jahren hinzugefügt. Vor etwa 2 Jahren aktualisiert.

Status:
Abgewiesen
Priorität:
Normal
Zugewiesen an:
Moritz Bunjes
Kategorie:
Core
Zielversion:
-
Beginn:
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Release Notes Langtext:

Die MainFactory lädt neue Klassen ohne vorheriges Cache leeren jetzt auch, wenn sie nur statisch genutzt werden


Beschreibung

The MainFactory loads classes only from cache without rebuilding it, if it is not found. The cache rebuild only works for class objects, not for static calls.

Steps to reproduce:

  1. Create a new class with a static public function (for example in GXMainComponents)
  2. Call this static function

Expected result:
The function is called.

Actual result:
The class is not found. The module cache has to be rebuilt first.


Aktionen

Auch abrufbar als: Atom PDF