<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
    <title>Magento Issue Tracking</title>
    <link>http://www.magentocommerce.com/bug-tracking/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>MagentoCommerce</dc:creator>
    <dc:rights>Copyright {gmt_date format="%Y"}</dc:rights>
    <dc:date>{gmt_date format="%Y-%m-%dT%H:%i:%s%Q"}</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
        <item>
        <title>View Issue #6706 / call to sales_order.info in Magento Core API fails</title>
        <link>http://www.magentocommerce.com/bug-tracking/issue?issue=2934</link>
        <description><![CDATA[<strong>Posted:</strong> 2008-08-27 08:10:46<br/><strong>Category:</strong> Webservices API<br/><strong>Version:</strong> 1.1.3<br/><strong>Priority:</strong> high<br/><strong>Status:</strong> closed<br/><strong>Reported By:</strong> <a href="http://www.magentocommerce.com/boards/member/44003/">acibu</a></strong><br/><br/>When Mage_Sales_Model_Api_Resource::_getAttributes($object, $type, array $attributes = null) is called with $object===false, it terminates with an error. This happens, because the method expects an object and doesn't validate this parameter.<br />
<br />
The error can be reproduced, when Mage_Sales_Model_Order_Api::info($orderIncrementId) makes a call to _getAttributes() to retrieve shipping addresses. When there are no shipping addresses defined, false is given as parameter $object to _getAttributes().<br />
<br />
A solution to this might be the inclusion of the following lines in _getAttributes():<br />
<br />
protected function _getAttributes($object, $type, array $attributes = null)<br />
{<br />
    $result = array();<br />
<br />
    //in case $object isn't defined<br />
    if ($object===False) {<br />
       return $result;<br />
    }<br />
<br />
   ....<br />
}<br />
<br />
This works for me, although I am not sure if this might affect other calls to getAttributes().<br/><br/><hr/>]]></description>
    </item>
    
                    <item>
        <title>RE: call to sales_order.info in Magento Core API fails</title>
        <description><![CDATA[<em>#1 / Comment by Magento Team</em><br/><br/>Hello acibu,<br />
<br />
This issue was fixed. The changes will be available in the next bugfix release.<br />
<br />
Thank you.]]></description>
    </item>
        </channel>
</rss>