Skip to content

isLast not working as expected in Zend_Service_Amazon_SimpleDb_Page #1

zfbot opened this Issue Apr 5, 2013 · 1 comment

2 participants

zfbot commented Apr 5, 2013

Jira Information

Original Issue: ZF-12389
Issue Type: Bug
Reporter: kasperpedersen
Created: 08/27/12
Assignee: Enrico Zimuel
Components: Zend_Service_Amazon


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.

zfbot commented Apr 5, 2013

This issue was ported from the ZF2 Jira Issue Tracker at

Known GitHub users mentioned in the original message or comment:

@froschdesign froschdesign added this to the 1.12.10 milestone Nov 30, 2014
@froschdesign froschdesign self-assigned this Nov 30, 2014
@anupdugar anupdugar added a commit to anupdugar/zf1 that referenced this issue Feb 6, 2015
@anupdugar anupdugar Merge tag 'release-1.12.10'
Zend Framework 1.12.10

- [1: isLast not working as expected in Zend_Service_Amazon_SimpleDb_Page](zendframework#1)
- [8: Zend_Loader_ClassMapAutoloader is not auto included when using Zend_Loader_AutoloaderFactory::factory](zendframework#8)
- [15: Zend_Db_Table_Abstract::delete does not delete from dependent table](zendframework#15)
- [32: Zend_Soap_Client has no 'exceptions' flag.](zendframework#32)
- [62: Zend_Validate_EmailAddress->_validateMXRecords() fails on Umlaut-Domains](zendframework#62)
- [187: Zend_Rest_Server does not properly handle optional parameters when anonymous (arg1, etc) parameters are passed in](zendframework#187)
- [322: Zend_Validate_Hostname: disallowed Unicode code point](zendframework#322)
- [324: SlideShare API change some tag names.](zendframework#324)
- [345: CallbackHandler throws warning if WeakRef-extension not installed](zendframework#345)
- [377: Zend_Console_Getopt: Missing required parameter consumes next option as its parameter value](zendframework#377)
- [400: PHPUnit contraints: use real class names to help classmap generators](zendframework#400)
- [426: Use relative filenames for _validIdns for direct include in Zend_Validate_Hostname](zendframework#426)
- [434: Corrected type of property _currentRoute](zendframework#434)
- [440: Zend_Controller_Dispatcher_Abstract::_formatName() inconsistent with Action name handling](zendframework#440)
- [441: Loosen regex to allow nested function calls in SQL](zendframework#441)
- [444: Update Zend_Validate_Hostname TLDs list to 2014102301 version](zendframework#444)
- [446: fix typo unkown -> unknown](zendframework#446)
- [448: fix travis ci build for php 5.2](zendframework#448)
- [449: Zend_Date doesn't create correct date when seconds are missing from 8601 format](zendframework#449)
- [452: "fluent", not "fluid"](zendframework#452)
- [453: Zend_Cache_Backend_Memcached looks at "bytes", but Couchbase 1.x returns "mem_used"](zendframework#453)
- [456: Documentation of Zend_Feed_Pubsubhubbub_Model_ModelAbstract](zendframework#456)
- [458: Fixed bug in quoteInto with $count parameter and question sign in $value](zendframework#458)
- [461: CDATA section for category elements in RSS feed](zendframework#461)
- [465: Zend_Currency creates invalid cache ids for values with fractions](zendframework#465)
- [467: debug_backtrace() called twice when only once needed ](zendframework#467)
- [468: Zend_Validate_Hostname improvements](zendframework#468)
- [469: [Zend_Validate\ Testcase for #322](zendframework#469)
- [471: End of life for PHPUnit installation using pear](zendframework#471)
- [475: Zend Json Server Exception is missing the method name](zendframework#475)
- [478: Create .gitattributes to mirror archive { } in composer.json](zendframework#478)
- [480: Virtual machine doesn't install initial packages](zendframework#480)
- [483: Update copyright to 2015](zendframework#483)
- [484: Adds content headers on POST request in Zend_Controller_Request_HTTP](zendframework#484)
- [487: Allow overriding cache id and tag validation in Zend_Cache](zendframework#487)
- [488: Zend_Dojo_View_Helper_Dojo_Container setCdnVersion error...](zendframework#488)
- [490: Added more specific return documentation for Zend_Navigation Pages](zendframework#490)

# gpg verification failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.