dimanche 20 septembre 2020

Stack Level Too Deep - Error (render_parent + Redmine)

After adding render-parent to my redmine plugin I'm getting "SystemStackError (stack level too deep)" on every page. I removed the usage of render_parent to check if my code was the problem but Im still getting the error. Uncommenting the gem resolves the issue. Any Idea?

Error:

SystemStackError (stack level too deep):
lib/redmine/hook/view_listener.rb:59:in block (2 levels) in render_on' lib/redmine/hook/view_listener.rb:57:in map'
lib/redmine/hook/view_listener.rb:57:in block in render_on' lib/redmine/hook.rb:61:in block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in each' lib/redmine/hook.rb:61:in block in call_hook'
lib/redmine/hook.rb:58:in tap' lib/redmine/hook.rb:58:in call_hook'
lib/redmine/hook.rb:96:in call_hook' app/views/welcome/index.html.erb:26:in _a474c089af486ba567547e1ef0d07fff'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Environment:

  • Redmine version 3.4.13.stable
  • Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux]
  • Rails version 4.2.11.1

Aucun commentaire:

Enregistrer un commentaire