Project

General

Profile

Actions

Defect #12774

closed

Deprecation Warning in Paginator.rb

Added by Daniel Felix almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

See log:
Started GET "/projects/testprojekt/issues" for 79.193.104.178 at Tue Jan 08 19:56:42 +0100 2013
Processing by IssuesController#index as HTML
Parameters: {"project_id"=>"testprojekt"}
Current user: admin (id=1)
DEPRECATION WARNING: Paginator no longer takes a controller instance as the first argument. Remove it from #new arguments. (called from initialize at /lib/redmine/pagination.rb:28)
DEPRECATION WARNING: Paginator#current will be removed. Use .offset instead of .current.offset. (called from current at /lib/redmine/pagination.rb:99)
Rendered queries/_filters.html.erb (20.4ms)
Rendered queries/_columns.html.erb (4.3ms)
Rendered issues/_list.html.erb (26.4ms)
Rendered issues/_sidebar.html.erb (6.0ms)
Rendered issues/index.html.erb within layouts/base (160.4ms)
Completed 200 OK in 390ms (Views: 181.1ms | ActiveRecord: 6.7ms)

Actions #1

Updated by Jean-Philippe Lang almost 12 years ago

  • Category set to Code cleanup/refactoring
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Affected version (unused) set to devel
  • Resolution set to Fixed

Fixed in r11139.

Actions

Also available in: Atom PDF