View Issue Details

IDProjectCategoryView StatusLast Update
0006800OXID eShop (all versions)1.05. Userspublic2024-07-10 15:21
ReporterE.W. Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version4.10.7 / 5.3.7 
Summary0006800: Basket is dropped if user registration failed.
DescriptionBasket is dropped every time the user registrations fails.

Here is the problematic coe: https://github.com/OXID-eSales/oxideshop_ce/blob/ddef4f79e3ce69ca9e53130cf85a44b8a399d3ff/source/Application/Component/UserComponent.php#L304
Steps To Reproduce1. Not logged in state.
2. Add one or more products to the basket.
3. Try to register an user account with an already existing e-mail.
- click at the top of the page 'Log in' -> 'Register'
- doesn't work if you register while in basket context (see note for more info)
4. Oxid throws an Exception and drops the basket.
TagsProduct domain and basket rewrite
Attached Files
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Relationships

has duplicate 0006901 closedSvenBrunk If an error occurs during the registration of a new user then the basket will be purged. 

Activities

QA

2018-02-26 13:17

administrator   ~0012399

This issue only occurs if you try to register an account with a click to 'Login' -> 'Register' at the top of the site (result in Fig. 1). If you are in basket context and say 'Open Account' at step 2, basket won't be dropped (result in Fig. 2).
basketDrop_inBasketContext.JPG (77,359 bytes)   
basketDrop_inBasketContext.JPG (77,359 bytes)   
basketDrop.JPG (75,467 bytes)   
basketDrop.JPG (75,467 bytes)