Project

General

Profile

Actions

Testing #3282

closed

xmera Omnia - Collection #2548: Third-Party module maintenance

Redmine - Maintenance #2337: Support RM 6.0

uninitialized constant ActionView (NameError) ::Object.const_get(n)

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04/14/2025
Due date:
04/14/2025
% Done:

100%

Estimated time:
Compatible Redmine Version:
6.0.z

Description

Starting Functional Tests raises an uninitialized constant Error in Rails 7:

❎ Starts Functional Tests considering patch files
/usr/local/lib/ruby/3.3.0/delegate.rb:61:in `const_get': uninitialized constant ActionView (NameError)

    ::Object.const_get(n)
            ^^^^^^^^^^
        from /usr/local/lib/ruby/3.3.0/delegate.rb:61:in `const_missing'
        from /home/liane-xmera/redmine/plugins/advanced_plugin_helper/app/presenters/advanced_plugin_helper/base_presenter.rb:38:in `<class:BasePresenter>'
        from /home/liane-xmera/redmine/plugins/advanced_plugin_helper/app/presenters/advanced_plugin_helper/base_presenter.rb:37:in `<module:AdvancedPluginHelper>'
        from /home/liane-xmera/redmine/plugins/advanced_plugin_helper/app/presenters/advanced_plugin_helper/base_presenter.rb:21:in `<top (required)>'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
        from /home/liane-xmera/redmine/plugins/advanced_plugin_helper/test/functional/application_controller_patch_test.rb:21:in `<top (required)>'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/test_unit/runner.rb:62:in `block in load_tests'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/test_unit/runner.rb:60:in `each'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/test_unit/runner.rb:60:in `load_tests'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/test_unit/runner.rb:52:in `run'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/commands/test/test_command.rb:33:in `perform'
        from /home/liane-xmera/redmine/gem_home/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
        from /home/liane-xmera/redmine/gem_home/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/command/base.rb:178:in `invoke_command'
        from /home/liane-xmera/redmine/gem_home/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/command/base.rb:73:in `perform'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/command.rb:71:in `block in invoke'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/command.rb:149:in `with_argv'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/command.rb:69:in `invoke'
        from /home/liane-xmera/redmine/gem_home/gems/railties-7.2.2.1/lib/rails/commands.rb:18:in `<top (required)>'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
        from /usr/local/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
        from bin/rails:4:in `<main>'
Actions

Also available in: Atom PDF