GX-Bug #68013
geschlossenFetching 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
0%
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