View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006127||OXID eShop (all versions)||2. ----- eShop backend (admin) -----||public||2015-04-20 18:44||2015-12-01 12:26|
|Target Version||Fixed in Version|
|Summary||0006127: Concurrent users are overwriting values of each other|
|Description||When multiple users are using the admin area, they overwrite each other's values. OXID does not warn the user if the area in question (e.g. Product, Category etc) is opened by another user.|
|Steps To Reproduce||Example for editing articles:|
1. Open the admin area in two browser windows
2. Open the same article in both admin windows
3. Change the title to "FOO" in one admin window, click save
4. Change the Short Description to "BAR" in the other admin window, click save
- The article has the title "FOO" and short description "BAR"
- The article has whatever title it had when the second admin window was opened, plus the short description "BAR"
|Additional Information||There are several ways to solve that issue:|
1. Show a "object is in use" Message whenever an article/category/etc object is opened in the browser
2. Only assign values to the objects which are actually changed in the browser
3. Output an error or warning whenever the fields have changed while editing the obect
|Tags||No tags attached.|
Here's a detailed article about the issue:
Another note: From my experience as developer, you really should get rid of ADODB soon. For example, Doctrine2 already supports optimistic locking: http://doctrine-orm.readthedocs.org/en/latest/reference/transactions-and-concurrency.html#optimistic-locking
Yes, I know that refactoring the whole shop takes quite some effort and I'm afraid there's no short-term solution for that issue.
||This is a feature request|