View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007753 | module PayPal Checkout | module PayPal checkout - sub | public | 2024-12-04 15:06 | 2024-12-06 11:11 |
Reporter | MRVN | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | feedback | Resolution | open | ||
Product Version | 3.3.4 / 2.3.4 / 1.3.4 | ||||
Summary | 0007753: PayPal Modul setzt oxconfig Einstellung "aRequireSessionWithParams" als falschen type | ||||
Description | Die Config-Einstellung "aRequireSessionWithParams" ist vom type "aarr", wird aber im PayPal Modul beim aktivieren in "ModuleSettings.php" auf "arr" gesetzt. Im Admin wird dann unter Stammdaten > Grundeinstellungen in jedem Tab außer Stamm die Warnung "Warning: Array to String conversion" angezeigt. | ||||
Steps To Reproduce | 1. Modul aktivieren 2. In die "Stammdaten > Grundeinstellungen" gehen 3. In jedem Tab außer Stamm erscheint die Warnung | ||||
Tags | No tags attached. | ||||
|
Hi @MRVN thanks for the report. Personally I think It's indeed unfortunate that for one type two keys are available, but to this date it's indeed possible to have arrays identifiable by 'arr' and 'aarr': https://github.com/OXID-eSales/oxideshop_ce/blame/b-8.0.x/source/Core/Config.php#L424 & 425. That said, I can't reproduce the case. When I install PayPal 3.3.4 I don't get the warning messages in the administration area. Even if I call the method Registry::getConfig()->getConfigParam('aRequireSessionWithParams') directly, I don't get a warning message, but the expected value. So there might be a step missing to reproduce the issue. Could you provide the complete warning message, if possible, even with the stacktrace? Kind regards Michael |