View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001701 | OXID eShop (all versions) | 1.05. Users | public | 2010-03-16 15:07 | 2010-04-14 14:32 |
Reporter | dominik_ziegler | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.2.0 revision 23610 | ||||
Fixed in Version | 4.3.1 revision 27257 | ||||
Summary | 0001701: Address cache affects output | ||||
Description | The method oxUser::getUserAddresses caches the data coming from the database as oxList instance in the class variable $this->_oAddresses (in class oxUser). For this method you can define also from which user the address data should be loaded (first function argument $sUserId; if not set current user id is used). Unfortunately the cached data (oxList instance) is stored in this variable without any reference to the user id given in the function argument list. Therefore it is impossible to load the address lists of two different users, because OXID takes already the first (cached) one and ignores on any other call of this method the user id and returns the oxList instance cached in $this->_oAddresses. | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||