zendframework/ZendService_Amazon — pull request #37 by laurent22 (2013-02-27 13:41:51+00:00)
Title: Fixing exceptions in Zend_Service_Amazon_Offer

The class Zend_Service_Amazon_Offer tries to access item fields that are not always present - in particular MerchantId and GlancePage.

I've fixed the issue by simply wrapping the two XPath queries in a try/catch block. If an exception is thrown, the properties are set to a default value.