Actions
Defect #32885
closedRails 6: DEPRECATION WARNING: Single arity template handlers are deprecated
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Rails support
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
A deprecation warning "Single arity template handlers are deprecated" is shown in Rails 6.
$ bin/rails test test/unit/attachment_test.rb . . . DEPRECATION WARNING: Single arity template handlers are deprecated. Template handlers must now accept two parameters, the view object and the source for the view object. Change: >> Redmine::Views::ApiTemplateHandler.call(template) To: >> Redmine::Views::ApiTemplateHandler.call(template, source) (called from <top (required)> at /path/to/redmine/lib/redmine.rb:353)
Files
Related issues
Actions