ZF-12389: isLast not working as expected in Zend_Service_Amazon_SimpleDb_Page

Issue Type: Bug Created: 2012-08-27T11:36:51.000+0000 Last Updated: 2013-04-05T16:07:25.000+0000 Status: Closed Fix version(s): Reporter: Kasper Pedersen (kasperjin) Assignee: Enrico Zimuel (zimuel) Tags: - Zend_Service_Amazon

Related issues: Attachments:


The isLast method on Zend_Service_Amazon_SimpleDb_Page-objects checks wether the NextToken is null or not, when determining wether or not it is the last page for the query.

However, the Zend_Service_Amazon_SimpleDb sets the NextToken to an empty string, if there is no NextToken, so the isLast method doesn't work as intended.

As I see it could be fixed either in Zend_Service_Amazon_SimpleDb or Zend_Service_Amazon_SimpleDb_Page. I don't know which would be better for the framework.


Posted by Ralph Schindler (ralph) on 2013-04-05T16:07:25.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.