View Issue Details

IDProjectCategoryView StatusLast Update
0001701OXID eShop (all versions)1.05. Userspublic2010-04-14 14:32
Reporterdominik_ziegler Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.2.0 revision 23610 
Fixed in Version4.3.1 revision 27257 
Summary0001701: Address cache affects output
DescriptionThe 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.
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-04-06 15:04

reporter   ~0002467

@Developers: please check from the source code side if this issue exists.