View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000924 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2009-05-22 15:51 | 2012-12-10 14:37 |
Reporter | hairpoint_de | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.2 revision 18998 | ||||
Fixed in Version | 4.1.3 revision 19918 | ||||
Summary | 0000924: Class Order_account drops error | ||||
Description | Hi, When calling class account_order, it fails with: "Function 'getStatus' does not exist or is not accessible! (oxOrderArticle)" please confirm, than you | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
|
Reminder sent to: hairpoint_de what oxid version do you use? this method is only available in EE and in default installation it should work, as there is such method in oxorderarticle class. If you use EE maybe someone applied PE/CE version patch? |
|
Hi, at first, sry for the sloppy report - was in a hurry.. We use the PE (4.1.2_18998), the error occures after clicking the 'Order History' Link on the 'My Account' Page. But I just checked the Demo Shop - works fine there. So I guess the problem is caused by one of our modules. thank you anyway |
|
while debuging i found another problem - if product, which was ordered once, does not exist any more or is inactive - you get error on same view. Fix applied on oxarticlelist::loadOrderArticles() method: $sArticleFields = $oBaseObject->getSelectFields(); to: $sArticleFields = str_replace( "$sArticleTable.oxid", "oxorderarticles.oxartid as oxid", $sArticleFields ); plus at the end of function added check: // not active or not available products must not have button "tobasket" foreach ( $this as $oArticle ) { if ( !$oArticle->oxarticles__oxactive->value ) { $oArticle->setBuyableState( false ); } } |
|
user defined bug does not exist, but fixed another one, which were found trying to reproduce problem. |