Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Extention crashes if column (:) in product name
 
ralphie
Member
 
Total Posts:  47
Joined:  2007-12-20
London
 

Hi

I just found an error in this extention. If a product is bought which has a column (:) sign in the product name the protx request will fail. This is because the (:) is not escaped by the extention and (:) is used as field separator by protx.

my temporary fix looks as follows:

was:

$resultParts[] $item->getName();

fixed:

$resultParts[] str_replace(':'' '$item->getName());

line 141 in app/code/core/Mage/Protx/Model/Standard.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
odi-um
Magento Team
 
Avatar
Total Posts:  112
Joined:  2008-04-02
 

Hi ralphie,

thanks for the info, this issue will be fixed in next extension release.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
50108 users|426 users currently online|102245 forum posts