Hi!
Possibly this problem does not depend on this module, but rather from the Amazon API. Anyway, this is what happens
English_US locale: http://eng.i-iter.org/amazon_store?author=Philip%20K.%20Dick working
French locale: http://pms.i-iter.org/amazon_store?author=Philip%20Kindred%20Dick blank page (with error in the drupal log)
The drupal log says
Amazon error returned. Code=AWS.ECommerceService.NoExactMatches}, Message=We did not find any matches for your request. // ///SimpleXMLElement Object ( [OperationRequest] => SimpleXMLElement Object ( [HTTPHeaders] => SimpleXMLElement Object ( [Header] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => UserAgent [Value] => Drupal (+http://drupal.org/) ) ) ) [RequestId] => 1MQ0HKNPQV2FF1B8A2HV [Arguments] => SimpleXMLElement Object ( [Argument] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => SearchIndex [Value] => All ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => MerchantId [Value] => All ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => AssociateTag [Value] => pmsiiter-21 ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Service [Value] => AWSECommerceService ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Keywords [Value] => "Philip Kindred Dick" ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Signature [Value] => Ge9Tz++qeh1E40BPx3E8GxjYJzqNE05+X0WCKOSRvWo= ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => ResponseGroup [Value] => BrowseNodes,Variations,ItemAttributes,Images,EditorialReview,OfferFull,Reviews,Similarities,AlternateVersions,Large ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Operation [Value] => ItemSearch ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => AWSAccessKeyId [Value] => AKIAIHCEHFMC6X6NGQLQ ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Timestamp [Value] => 2009-11-01T17:34:15Z ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [Name] => Version [Value] => 2009-03-31 ) ) ) ) [RequestProcessingTime] => 0.07358717918396 ) [Items] => SimpleXMLElement Object ( [Request] => SimpleXMLElement Object ( [IsValid] => True [ItemSearchRequest] => SimpleXMLElement Object ( [Keywords] => "Philip Kindred Dick" [MerchantId] => All [ResponseGroup] => Array ( [0] => Similarities [1] => OfferFull [2] => Large [3] => AlternateVersions [4] => ItemAttributes [5] => Reviews [6] => BrowseNodes [7] => Variations [8] => EditorialReview [9] => Images ) [SearchIndex] => All ) [Errors] => SimpleXMLElement Object ( [Error] => SimpleXMLElement Object ( [Code] => AWS.ECommerceService.NoExactMatches [Message] => We did not find any matches for your request. ) ) ) [TotalResults] => 0 [TotalPages] => 0 ) )
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | amazon_store.author_links_620332_03.patch | 11.96 KB | rfay |
Comments
Comment #1
rfayActually, the author link doesn't work well from any locale. It's just a search which may or may not get anything.
Probably in this case (not found) we shouldn't show the error message
Comment #2
rfayProbably should fix this one.
Comment #3
rfayFinally did this:
Committed to HEAD: http://drupal.org/cvs?commit=351240