Project

General

Profile

task #37

undefined method `recurrences`

Added by kornysha1315@mail.ru over 1 year ago. Updated 11 months ago.

Status:
in progress
Priority:
bug
Assignee:
Target version:
Redmine version:
unspecified

Description

Hi.
I am using your wonderful plugin.Bbut if you use Issue recurring with others pluging i getting error:

I, [2022-11-25T17:39:21.715821 #7] INFO -- : Completed 500 Internal Server Error in 11ms (ActiveRecord: 4.6ms)
F, [2022-11-25T17:39:21.716232 #7] FATAL -- :
F, [2022-11-25T17:39:21.716284 #7] FATAL -- : NoMethodError (undefined method `recurrences' for nil:NilClass):
F, [2022-11-25T17:39:21.716317 #7] FATAL -- :
F, [2022-11-25T17:39:21.716360 #7] FATAL -- : plugins/issue_recurring/lib/issue_recurring/issues_controller_patch.rb:9:in `prepare_recurrences'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:54:in `call'

i use version:
Environment:
Redmine version 4.2.7.stable
Ruby version 2.7.6-p219 (2022-04-12) [x86_64-linux]
Rails version 5.2.8
issue_recurring 1.7

this problem emerge with

Redmine People plugin (Light version)
This is a plugin for managing Redmine users
http://redmineup.com/pages/plugins/people

or
Redmine Rt plugin
Redmine plugin for realtime features
https://github.com/MayamaTakeshi/redmine_rt

can you help me with this problem?


Token votes

History

#1 Updated by cryptogopher over 1 year ago

  • Status changed from new to in progress

Hi,

I can also see redmine_dmsf plugin mentioned in attached log. Can you please provide complete minimal set of plugins which trigger the problem, so I can reproduce it locally?
I mean: does the problem still occur when you remove redmine_dmsf and all other plugins except for issue_recurring and one of people/redmine_rt?

#2 Updated by kornysha1315@mail.ru over 1 year ago

Now i can see minimal set:

Issue recurring plugin

Redmine Base Deface plugin
https://github.com/jbbarth/redmine_base_deface

DMSF
https://www.redmine.org/plugins/redmine_dmsf

Redmine Rt plugin
https://github.com/MayamaTakeshi/redmine_rt

F, [2022-11-25T19:25:14.163458 #7] FATAL -- :
F, [2022-11-25T19:25:14.163508 #7] FATAL -- : NoMethodError (undefined method `recurrences' for nil:NilClass):
F, [2022-11-25T19:25:14.163539 #7] FATAL -- :
F, [2022-11-25T19:25:14.163568 #7] FATAL -- : plugins/issue_recurring/app/controllers/concerns/load_issue_recurrences.rb:6:in `load_issue_recurrences'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
plugins/redmine_dmsf/lib/redmine_dmsf/webdav/custom_middleware.rb:54:in `call'

redmine_dmsf can't delete. the database is attached to it

#3 Updated by cryptogopher over 1 year ago

DMSF
https://www.redmine.org/plugins/redmine_dmsf

Redmine Rt plugin
https://github.com/MayamaTakeshi/redmine_rt

Which versions of these plugins do you have?

#4 Updated by kornysha1315@mail.ru over 1 year ago

DMSF 3.0.5

Redmine Rt plugin 1.0.0

#5 Updated by admin 11 months ago

  • Priority changed from support to bug

Also available in: Atom PDF