View Issue Details

IDProjectCategoryView StatusLast Update
0001820OXID eShop (all versions)2. ----- eShop backend (admin) -----public2012-12-10 14:22
Reporterumaun Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.1 revision 27257 
Fixed in Version4.3.2 revision 27884 
Summary0001820: Unnecessary loads in xml export
Descriptionimho there are unnecessary loads in xml export
Additional Informationdiff oximex.php oximex.php.org
384,393c384,391
< // ? unnecessary load, $sPayment is not used ?
< //$oUserpayment = oxNew( "oxuserpayment" );
< //$oUserpayment->load( $oOrder->oxorder__oxpaymentid->value);
< //$sPayment = $oUserpayment->oxuserpayments__oxvalue->value;
< //$sPayment = str_replace( "__", "", $sPayment);
< //$sPayment = str_replace( "@@", ",", $sPayment);
<
< // ? unnecessary load, see $oPayment below ?
< //$oPayment = oxNew( "oxpayment" );
< //$oPayment->load( $oOrder->oxorder__oxpaymenttype->value);
---
> $oUserpayment = oxNew( "oxuserpayment" );
> $oUserpayment->load( $oOrder->oxorder__oxpaymentid->value);
> $sPayment = $oUserpayment->oxuserpayments__oxvalue->value;
> $sPayment = str_replace( "__", "", $sPayment);
> $sPayment = str_replace( "@@", ",", $sPayment);
>
> $oPayment = oxNew( "oxpayment" );
> $oPayment->load( $oOrder->oxorder__oxpaymenttype->value);
TagsExport, Import
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

birute_meilutyte

2010-05-11 16:04

reporter   ~0002740

@developers: check this issue from source code side

arvydas_vapsva

2010-05-13 10:25

reporter   ~0002799

thnx for notice!