Project

General

Profile

Redmine Reports Filters plugin -Internal error

Added by Di Chorney about 8 years ago

I have a problem with work of plugin - Reports Filters.
The root project is not displayed, however the subprojects are displayed normal.

/redmine/log/production.log

Current user: Myname (id=56)
Completed 500 Internal Server Error in 160ms (ActiveRecord: 4.3ms)

NoMethodError (undefined method `visible_condition' for #<ReportsController:0x0000000774d1f8>):
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Please tell me what to do
thx


Replies (4)

RE: Redmine Reports Filters plugin -Internal error - Added by Karel Pičman about 8 years ago

As a workaround fix the code in plugins/redmine_report_filters/app/helpers/r3support_helper.rb as follows:

15 - and #{visible_condition(User.current, :project => project, :with_subprojects => true)}
15 + and #{Issue.visible_condition(User.current, :project => project, :with_subprojects => true)}

RE: Redmine Reports Filters plugin -Internal error - Added by James Lai over 5 years ago

Karel Pičman wrote:

As a workaround fix the code in plugins/redmine_report_filters/app/helpers/r3support_helper.rb as follows:

[...]

Hello Karel,
I have error with this“Please adjust the settings of the plugin. Configure”,can you help how to resovle it?thank you

RE: Redmine Reports Filters plugin -Internal error - Added by Karel Pičman over 5 years ago

The plugin seems to be closed source and paid. Thus I can't help you.

All in all I'd try:
  1. Open and save the plugin's settings.
  2. Check the production.log for any additional information related to the error.
  3. Have a look in the source code around the error handling and try to investigate what's wrong.

RE: Redmine Reports Filters plugin -Internal error - Added by James Lai over 5 years ago

Karel Pičman wrote:

The plugin seems to be closed source and paid. Thus I can't help you.

All in all I'd try:
  1. Open and save the plugin's settings.
  2. Check the production.log for any additional information related to the error.
  3. Have a look in the source code around the error handling and try to investigate what's wrong.

Thank you,
now I know how to use, need select item from new to close and click apply。
but this plugin seem still have some problem.it cannot filter issues by days.

    (1-4/4)