Issues

ZF-10704: Zend_Paginator_Adapter_DbSelect empty binds

Issue Type: Bug Created: 2010-11-18T05:30:00.000+0000 Last Updated: 2011-09-09T21:48:57.000+0000 Status: Resolved Fix version(s): - 1.11.6 (05/May/11)

  • Next Major Release ()

Reporter: Bartlomiej Dudala (bdudala) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Paginator

Related issues: Attachments:

Description

I have a query with having clause. The binds data are empty here:

line #217

<pre class="literal">
$rowCount = $db->select()->from($this->_select);

my workaround:

<pre class="literal">
$rowCount = $db->select()->bind($this->_select->getBind())->from($this->_select);

Comments

Posted by Bartlomiej Dudala (bdudala) on 2011-01-03T02:47:19.000+0000

I've got the same problem at line #204. The same problem, the same workaround, but with UNION clause

Posted by Bartlomiej Dudala (bdudala) on 2011-01-03T02:48:06.000+0000

<pre class="literal">
#204: $rowCount = $db->select()->from($rowCount, $expression);

Posted by Ramon Henrique Ornelas (ramon) on 2011-04-10T19:04:55.000+0000

Fixed in trunk r23854 merged r23855 to release branch 1.11 - thanks.

Posted by Ramon Henrique Ornelas (ramon) on 2011-09-09T21:48:57.000+0000

Fixed in ZF2 with GH-411

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts