Projekt

Allgemein

Profil

Aktionen

GX-Bug #68013

geschlossen

Fetching the "direct help" links should have a fallback | Sollten die Direkthilfe-Links nicht abgerufen werden können, sollte es zu keinem Fehler kommen, sondern ein Fallback greifen

Von Moritz Bunjes vor mehr als 3 Jahren hinzugefügt. Vor fast 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Moritz Bunjes
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

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

Die Direkthilfe im Gambio Admin funktioniert nun zuverlässiger


Beschreibung

Installing and activating the "Direct help" module in the Module Center of the Gambio Admin displays a help icon in the bottom right corner. The icon links to the corresponding page in the online manual. The link is stored on a remote server. It may happen, that the remote server is not available or the response is invalid. In this case a fallback should be applied (linking to the start page of the online manual).

To reproduce the bug, you have to fake an invalid response, by changing the shopVersion parameter in the file

src/GXModules/Gambio/DirectHelp/Admin/Classes/Storages/DirectHelpManualMappingFileStorage.inc.php:180

Change

$url     = $this->remoteLocation . '?shopVersion=' . $this->shopVersion;

to

$url     = $this->remoteLocation . '?shopVersion=invalid' . $this->shopVersion;

A fix is attached as a patch file. Without the fix a call of admin/admin.php?do=DirectHelpProxy/GoToManual causes an error instead of being redirected to the online manual.


Dateien



Zugehörige Tickets

Kopiert von GX-Entwicklung - GX-Bug #67949: Fetching the "direct help" links should have a fallback | Sollten die Direkthilfe-Links nicht abgerufen werden können, sollte es zu keinem Fehler kommen, sondern ein Fallback greifenErledigtMarvin Muxfeld

Aktionen
Aktionen #1

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

  • Kopiert von GX-Bug #67949: Fetching the "direct help" links should have a fallback | Sollten die Direkthilfe-Links nicht abgerufen werden können, sollte es zu keinem Fehler kommen, sondern ein Fallback greifen wurde hinzugefügt
Aktionen #2

Von Moritz Bunjes vor mehr als 3 Jahren aktualisiert

  • Status wurde von In Bearbeitung zu Erledigt geändert
Aktionen #3

Von Moritz Bunjes vor fast 3 Jahren aktualisiert

  • Tags 4.2.0.2 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF