View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007520 | OXID eShop B2B Edition | B2B edition - sub | public | 2023-08-21 13:50 | 2023-09-25 11:58 |
Reporter | michael_keiluweit | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.0.0 | ||||
Target Version | Patch for 5.0 | Fixed in Version | 5.1.0 | ||
Summary | 0007520: Approval Procedure: Maintenance Mode after Log out during Edit cart action | ||||
Description | Using the back button of the browser after stopping editing a basket during an approval procedure and using the log out button causes the maintenance mode. | ||||
Steps To Reproduce | Install B2B 5.0.0 + demodata Administration area: - Create user A, set the account as b2b account - Create user B, set the account as b2b account - Add user A as chief buyer for user B (use the OXID of user A) You have two users now: 1) user A as a chief buyer 2) user B as a buyer, affiliated to user A. Frontend: - Log in as user A (chief buyer), give user B permissions to buy and that he must use approval procedure: - Click on My account - Click on My buyers - Click on the Eye-Button for user B - Activate the checkboxes -- allowed to order -- activate approval procedure - Hit the Save button Open a new browser instance (recommendation: use the incognito mode) Log in as user B (buyer) - Add the item Kite CORE GT to the basket. - Set cart name to foobar - Click on the button Send to approval procedure From this point there two paths to reproduce the issue; one is fine as the other. Reproduce as buyer (incognito mode) - Click on My Account - Click on Approval Procedure - Click on the Eye-Button for the just saved basket foobar - Click on the button Edit cart - Click on the button Stop edit mode - Click on the button My account -> Log out (to be exact: the "Logout" button in the pop-up window) - Use the back button of your browser -> Maintenance mode chiefbuyer (incognito mode) - Click on My Account - Click on Approval Procedure - Click on the Eye-Button for the just saved basket foobar - Click on the button Edit cart - Click on the button Stop edit mode - Click on the button My account -> Log out (to be exact: the "Logout" button in the pop-up window) - Use the back button of your browser -> Maintenance mode | ||||
Additional Information | OXID Logger.ERROR: OxidEsales\B2BModule\ScheduledOrders\Model\Basket::isScheduledOrderBasket(): Argument #1 ($id) must be of type string, null given, called in /var/www/oxideshop/vendor/oxid-esales/b2b-scheduled-orders-module/Controller/ApprovalDetailsController.php on line 48 ["[object] (TypeError(code: 0): OxidEsales\\B2BModule\\ScheduledOrders\\Model\\Basket::isScheduledOrderBasket(): Argument #1 ($id) must be of type string, null given, called in /var/www/oxideshop/vendor/oxid-esales/b2b-scheduled-orders-module/Controller/ApprovalDetailsController.php on line 48 at /var/www/oxideshop/vendor/oxid-esales/b2b-scheduled-orders-module/Model/Basket.php:87)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-esales/b2b-scheduled-orders-module/Controller/ApprovalDetailsController.php(48): OxidEsales\\B2BModule\\ScheduledOrders\\Model\\Basket->isScheduledOrderBasket(NULL)\n#1 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Controller/BaseController.php(534): OxidEsales\\B2BModule\\ScheduledOrders\\Controller\\ApprovalDetailsController->b2bCompleteEditModeAction()\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ee/Core/Controller/BaseController.php(64): OxidEsales\\EshopCommunity\\Core\\Controller\\BaseController->executeFunction('b2bCompleteEdit...')\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(347): OxidEsales\\EshopEnterprise\\Core\\Controller\\BaseController->executeFunction('b2bCompleteEdit...')\n#4 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(280): OxidEsales\\EshopCommunity\\Core\\ShopControl->executeAction(Object(OxidEsales\\B2BModule\\BulkOrders\\Controller\\ApprovalProcedureDetailsController), 'b2bCompleteEdit...')\n#5 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(142): OxidEsales\\EshopCommunity\\Core\\ShopControl->_process('OxidEsales\\\\B2BM...', 'b2bCompleteEdit...', NULL, NULL)\n#6 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(27): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#7 /var/www/oxideshop/source/index.php(16): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#8 {main}\n"] [] | ||||
Tags | No tags attached. | ||||