Opened 4 years ago
Last modified 3 years ago
#2147 new Bug/Fehler
Prüfung auf vorhandene Hersteller-Beschreibung führt zu Fehlermeldung "Hersteller nicht gefunden" — at Version 1
| Reported by: | Volker Strähle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.9.0 |
| Component: | Shop | Version: | 2.0.6.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description (last modified by )
In /includes/modules/product_listing.php findet sich auf ca. Zeile 268 folgender Code-Abschnitt:
} elseif (isset($_GET['manufacturers_id']) && $_GET['manufacturers_id'] > 0) {
$manufacturers_array = xtc_get_manufacturers();
trigger_error('DEBUG $manufacturers_array: '.print_r($manufacturers_array,true),E_USER_ERROR);
if (isset($manufacturers_array[(int)$_GET['manufacturers_id']])
&& $manufacturers_array[(int)$_GET['manufacturers_id']]['manufacturers_name'] != ''
&& $manufacturers_array[(int)$_GET['manufacturers_id']]['manufacturers_description'] != ''
)
{
$manufacturer = $manufacturers_array[(int)$_GET['manufacturers_id']];
Die Prüfung auf eine vorhandene Beschreibung führt zu einem site_error "Hersteller nicht gefunden". Tatsächlich ist der Hersteller aber vorhanden.
Besser wäre es den Hersteller mit Name und Logo trotzdem anzuzeigen und lieber die Fehlermeldung anzupassen "Aktuell sind keine Artikel dieses Herstellers im Shop vorhanden."
Change History (1)
comment:1 by , 4 years ago
| Component: | Module → Shop |
|---|---|
| Description: | modified (diff) |
| Milestone: | modified-shop-2.0.7.0 → modified-shop-2.0.6.1 |
| Owner: | set to |
| Summary: | includes/modules/product_listing.php → Prüfung auf vorhandene Hersteller-Beschreibung führt zu Fehlermeldung "Hersteller nicht gefunden" |
| Version: | trunk → 2.0.6.0 |
Note:
See TracTickets
for help on using tickets.
