Project

General

Profile

Upgrade from 2.2.3 to 2.3.1 Paginator error?

Added by Rich W about 11 years ago

(Odd.. thought I posted this yesterday, but now I can't find it. Anyhow..)

With an upgrade from 2.2.3 to 2.3.1, I'm suddenly getting the following error. Searching via google only comes up with similar issues, but no solutions, so I thought I would ask here. Hopefully, at the very least, I'll get a pointer in the right direction.

Thanks!
-R

OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
OpenIdAuthentication.store is nil. Using in-memory store.
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
DEPRECATION WARNING: Paginator#current will be removed. Use .offset instead of .current.offset. (called from current at /var/www/redmine-2.3.1/lib/redmine/pagination.rb:99)

ActionView::Template::Error (undefined method `previous' for #<Redmine::Pagination::Paginator:0x7f469e123dd8>):
34: </tbody>
35: </table>
36:
37: <p class="pagination"><%= pagination_links_full @issue_status_pages ></p>
38:
39: <
html_title(l(:label_issue_status_plural)) -%>
app/helpers/application_helper.rb:400:in `pagination_links_full'
app/views/issue_statuses/index.html.erb:37:in `_app_views_issue_statuses_index_html_erb___459463092_69970638085820'


Replies (2)

RE: Upgrade from 2.2.3 to 2.3.1 Paginator error? - Added by Toshi MARUYAMA about 11 years ago

Did you use clean Redmine sources?
"pagination_links_full" was removed by r11026.

RE: Upgrade from 2.2.3 to 2.3.1 Paginator error? - Added by Rich W about 11 years ago

I had. Or so I thought I had. I had rebuilt the sources twice, too.

Finally, after a day, I nuked the entire original tree, backed up the database, and started from scratch. This time, it worked. sigh

    (1-2/2)