GX-Bug #67949
closedFetching 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
Description
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.
Files
Related issues
Updated by Moritz Bunjes almost 4 years ago
- Subject changed from Sollten die Direkthilfe-Links nicht abgerufen werden können, sollte es zu keinem Fehler kommen, sondern ein Fallback greifen to 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
Updated by Ulrich Wenk almost 4 years ago
- Status changed from Gemeldet to Feedback
- Assignee set to Moritz Bunjes
Couldn't be reproduced
Updated by Moritz Bunjes almost 4 years ago
- Tags changed from Fix to Fix, 4.2.0.2, 4.3.2.0 beta1
- Status changed from Feedback to Gemeldet
- Assignee deleted (
Moritz Bunjes)
Updated by Moritz Bunjes almost 4 years ago
- Status changed from Gemeldet to In Bearbeitung
- Assignee set to Moritz Bunjes
Updated by Moritz Bunjes almost 4 years ago
- Status changed from In Bearbeitung to Testing
- Assignee changed from Moritz Bunjes to Core-Entwickler
- Target version changed from 133 to 4.3.2.0 beta1
- Release Notes Langtext updated (diff)
- Betroffene Versionen 4.3.1.0 added
- Betroffene Versionen deleted (
Unbestimmt)
Updated by Marvin Muxfeld almost 4 years ago
- Assignee changed from Core-Entwickler to Marvin Muxfeld
Updated by Marvin Muxfeld almost 4 years ago
- Status changed from Testing to Erledigt
Updated by Moritz Bunjes almost 4 years ago
- Copied to GX-Bug #68013: 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 added
Updated by Moritz Bunjes almost 4 years ago
- Tags changed from Fix, 4.2.0.2, 4.3.2.0 beta1 to Fix, 4.3.2.0 beta1
Updated by Moritz Bunjes about 3 years ago
- Tags changed from Fix, 4.3.2.0 beta1 to Fix