Projekt

Allgemein

Profil

Aktionen

GX-Task #59480

offen

Code in Datei /system/classes/listing/NewProductsMainContentView.inc.php refaktoren um an andere Dateien anzugleichen / Code in file /system/classes/listing/NewProductsMainContentView.inc.php refactors to align with other files

Von Till Tepelmann vor mehr als 5 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Anerkannt
Priorität:
Normal
Zugewiesen an:
-
Kategorie:
Refactoring
Zielversion:
-
% erledigt:

0%

Steps to reproduce:
Betroffene Versionen:
3.11.1.0 beta1, 3.11.1.0 beta2, 3.11.1.0 rc1
Release Notes Langtext:

Beschreibung

Code für neue Artikel auf Startseite in der Datei /system/classes/listing/NewProductsMainContentView.inc.php an src/system/classes/listing/SpecialsMainContentView.inc.php angleichen.

Aktuell ist der Code nicht einheitlich um auf die selben Funktionen zurückzugreifen. Die Klasse und Funktionen sollten in beiden Fällen gleich sein, nur das DatenbankModell oder RepositoryReader muss getauscht werden, damit der selbe Code nur mit anderen Daten aus der Datenbank läuft. Mach das auch einfacher zu testen.

Wahrscheinlich erst möglich, wenn wir einen neuen FrontEnd Core haben, der dafür ausgelegt ist.

Align code for new products on start page in file /system/classes/listing/NewProductsMainContentView.inc.php with src/system/classes/listing/SpecialsMainContentView.inc.php

Currently the code is not uniform to access the same functions. The class and functions should be the same in both cases, only the database model or repository reader has to be swapped, so that the same code only runs with other data from the database. Make this easier to test too.

Probably not possible until we have a new FrontEnd Core that is designed for this.


Aktionen

Auch abrufbar als: Atom PDF