Page 1 of 1

Pagination broken

Posted: 30 Jan 2017, 10:31
by gilbertsoft
Hi,

since version 2017.01 pagination on catalog list seems to be broken. page 0 of 2 is shown and if I switch to the second page the following error: Oops, an error occurred! Code: 20170130112303c476ea5c

Is this already corrected in the newest sources?

Regards
Simon

Re: Pagination broken

Posted: 30 Jan 2017, 13:03
by gilbertsoft
Two bugs found at body-default.php, the last 2 params pointed to listProduct instead listPage:

$pagination = $this->partial(
$this->config( 'client/html/catalog/lists/partials/pagination', 'catalog/lists/pagination-default.php' ),
array(
'params' => $params,
'total' => $this->get( 'listProductTotal', 0 ),
'current' => $this->get( 'listPageCurr', 0 ),
'size' => $this->get( 'listPageSize', 48 )
)
);

But the error on the second page remains. Are there any hints on debugging, say finding the point of this error fast?

Fixes will be pushed to github as always.

Re: Pagination broken

Posted: 30 Jan 2017, 16:23
by aimeos
What's the latest entry in log file stored in typo3temp/logs/? There you will most probably find a meaningful explanation of what did go wrong.

Re: Pagination broken

Posted: 30 Jan 2017, 20:15
by gilbertsoft
I always forget the logfiles, I only looked at the interal logs at the BE ;-( Thanks for the hint! Corrections are uploaded

Re: Pagination broken

Posted: 30 Jan 2017, 23:15
by aimeos
Never mind ;-)
Instead, we would like to give you a really big "thank you" for all your efforts and the great job you did!