View Issue Details

IDProjectCategoryView StatusLast Update
0001066OXID eShop (all versions)2. ----- eShop backend (admin) -----public2009-07-10 10:45
Reporterd3 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.3 revision 19918 
Fixed in Version4.1.4 revision 21266 
Summary0001066: oxOrder::getUser() returns always null
Description1st oxOrder::getUser() overwrites the behavior of oxSuperCfg::getUser(), which could/will cause errors.

2nd in admin area oxOrder::getUser() returns always null. I won´t get the actual loggedin user (default behavior of oxSuperCfg::getUser()-implementation) nor do i get the user-object from the user which ordered.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

sarunas_valaskevicius

2009-07-09 17:03

reporter   ~0001172

oxOrder::getUser renamed to oxOrder::getOrderUser (conflicted with oxSuperCfg::getUser)

d3

2009-07-10 10:19

reporter   ~0001175

Does oxOrder::getOrderUser() initialize a new oxUser object if oxOrder::_oUser == null?

sarunas_valaskevicius

2009-07-10 10:45

reporter   ~0001177

Hi, yes. if $this->_oUser is not initialized, getOrderUser will load user by oxorder__oxuserid field and return it.