Issue Type: Bug Created: 2011-03-18T13:05:04.000+0000 Last Updated: 2012-08-27T11:22:25.000+0000 Status: Open Fix version(s): Reporter: Christopher Valles (christopher.valles) Assignee: Christopher Valles (christopher.valles) Tags: - Zend_Service_Amazon
Related issues: Attachments: - patch-zf-11193.diff
When doing a select query over a collection of more than 100 items Zend_Service_Amazon_SimpleDb don't return the nextToken value from the XML response.
The error is located at file Zend/Service/Amazon/SimpleDB.php line 405:
<pre class="highlight"> $nextToken = (string)$xml->NextToken;
And should be:
<pre class="highlight"> $nextToken = (string)$xml->SelectResult->NextToken;
Posted by Matthew Weier O'Phinney (matthew) on 2011-07-28T19:59:49.000+0000
What happens with collections of less than 100 items? can the NextToken be received in the same way as in your patch? If so, I'll apply; if not, we need to check for existence and branch accordingly.
Posted by Kasper Pedersen (kasperjin) on 2012-08-27T11:22:25.000+0000
Patch worked for me with domains and queries of varying sizes. I think it was just a typo to begin with or maybe Amazon changed their response format.
Have you found an issue?
See the Overview section for more details.