View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007968 | OXID eShop (all versions) | 2.2. Shop settings | public | 2026-06-29 11:13 | 2026-07-01 09:02 |
| Reporter | SleTp | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Product Version | 7.5.0 | ||||
| Summary | 0007968: The assignment windows do not display any data anymore | ||||
| Description | With "assignment window" i mean the small windows that open after you click something like the "assign countries to a payment method" or "assign categories to a product" buttons. After we updated to Oxid metapackage-ee version 7.5 these assignment windows stop displaying any data. This seems to happen because the the Core/Config.php has been adjusted so that in the getConfigParam() does not call "init()" anymore. Instead it only calls "initVars()". This makes it so that the session does not get properly initialized in the source/oxajax.php anymore. For now we fixed it ourselves by directly calling Config->init() in oxajax.php. | ||||
| Steps To Reproduce | - Go into the admin backend of an OXID 7.5 instance - Goto shop config > payment methods - Select any payment method - Go into the countries tab - Click on the assign countries button - The window now opens, you see the two assignment columns but they are empty | ||||
| Tags | Admin, AJAX | ||||
| Theme | Not defined | ||||
| Browser | Not defined | ||||
| PHP Version | 8.4 | ||||
| Database Version | Not defined | ||||
|
|
I can not reproduce this. I admit my current 7.5 development environment is not completely clean, but the list fills fine. @SleTp maybe some module is intervening here? |
|
|
@SvrenBrunk - i do not think that any module is intervening. The problem occures quite early in the oxajax.php, since the session can not be initialized and it thinks that the user is not logged in: // authorization if ( !( Registry::getSession()->checkSessionChallenge() && count(Registry::getUtilsServer()->getOxCookie()) && Registry::getUtils()->checkAccessRights() ) ) { header("location:index.php"); Registry::getUtils()->showMessageAndExit(""); } After debugging the issue myself i could not determine where the oxajax.php initializes the session since Core/Config.php has been changed to not do that anymore: public function getConfigParam($name, $default = null) { $this->initVars($this->getShopId()); // <=== This previously was a call to "init()" which initialized the session in oxajax.php, even if incidentally if (isset($this->_aConfigParams[$name])) { $value = $this->_aConfigParams[$name]; } elseif (isset($this->$name)) { $value = $this->$name; } else { $value = $default; } return $value; } Would it be possible to gain access to a test OXID admin backend that is mostly empty to verify that the issue is really unique to us? |