GX-Bug #67949
Von Moritz Bunjes vor etwa 4 Jahren aktualisiert
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 I 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 http://localhost/feature/src/admin/admin.php?do=DirectHelpProxy/GoToManual causes an error instead of being redirected to the online manual.