Load Sales/quote by id returns empty data
$quote = Mage::getModel('sales/quote')->loadByIdWithoutStore($quoteId); |
instead of
$quote = Mage::getModel('sales/quote')->load($quoteId); |
because the regular Mage_Sales_Model_Quote::load()
function automatically attaches the current storeview to load the quote object. In this case the storeview is admin, which means no results will be found for the quote id and the returned object is empty.