Project

General

Profile

Actions

Bug #2903

closed

xmera Omnia - Collection #3597: Compatability maintenance for Rails 7 and RM 6

Wrong number of arguments in NewsController#show

Added by liaham 5 months ago. Updated 17 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02/07/2025
Due date:
02/07/2025
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:
6.0.z
Requires Documentation?:

Description

With RM 6 there is this error:

D, [2025-02-07T14:24:14.207458 #1] DEBUG -- :   ↳ plugins/redmine_news_notification/app/models/news_notification.rb:64:in `already_read?'
I, [2025-02-07T14:24:14.207867 #1]  INFO -- : Completed 500 Internal Server Error in 42ms (ActiveRecord: 10.1ms (7 queries, 0 cached) | GC: 0.0ms)


F, [2025-02-07T14:24:14.208607 #1] FATAL -- :   
ArgumentError (wrong number of arguments (given 1, expected 0)):
  
plugins/redmine_news_notification/app/models/news_notification.rb:59:in `mark_as_read'
plugins/redmine_news_notification/lib/redmine_news_notification/overrides/news_controller_patch.rb:38:in `show'
lib/redmine/sudo_mode.rb:78:in `sudo_mode'
Actions #1

Updated by liaham 5 months ago

  • Target version changed from unreleased to 1.2.0
Actions #2

Updated by liaham 5 months ago

  • Due date set to 02/07/2025
  • Status changed from New to Closed
  • Start date set to 02/07/2025
  • % Done changed from 0 to 100
Actions #3

Updated by liaham 17 days ago

  • Parent task set to #3597
Actions

Also available in: Atom PDF