Project

General

Profile

GX-Bug #67949

Updated by Moritz Bunjes over 3 years ago

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 http://localhost/feature/src/admin/admin.php?do=DirectHelpProxy/GoToManual causes an error instead of being redirected to the online manual.

Back