Skip to content

Internal error on opening an issue #74

Description

@delanym

With Redmine 5.1.3 and only this plugin and its two dependencies I get an internal error opening an issue

redmine-1  | I, [2024-09-07T12:14:36.137196 #1]  INFO -- : Started GET "/issues" for 10.1.0.138 at 2024-09-07 12:14:36 +0000
redmine-1  | I, [2024-09-07T12:14:36.138758 #1]  INFO -- : Processing by IssuesController#index as HTML
redmine-1  | I, [2024-09-07T12:14:36.144172 #1]  INFO -- :   Current user: admin.delany (id=74)
redmine-1  | E, [2024-09-07T12:14:36.525006 #1] ERROR -- : Deface: 'disable_project_link_if_current_user_cannot_open_it' matched 0 times with 'table.list.issues tbody tr'
redmine-1  | I, [2024-09-07T12:14:36.641940 #1]  INFO -- :   Rendered issues/index.html.erb within layouts/base (Duration: 183.7ms | Allocations: 79180)
redmine-1  | I, [2024-09-07T12:14:36.659342 #1]  INFO -- :   Rendered layout layouts/base.html.erb (Duration: 201.2ms | Allocations: 86443)
redmine-1  | I, [2024-09-07T12:14:36.659664 #1]  INFO -- : Completed 200 OK in 521ms (Views: 168.3ms | ActiveRecord: 141.6ms | Allocations: 184433)
redmine-1  | I, [2024-09-07T12:14:39.744281 #1]  INFO -- : Started GET "/issues/20455" for 10.1.0.138 at 2024-09-07 12:14:39 +0000
redmine-1  | I, [2024-09-07T12:14:39.745241 #1]  INFO -- : Processing by IssuesController#show as HTML
redmine-1  | I, [2024-09-07T12:14:39.745296 #1]  INFO -- :   Parameters: {"id"=>"20455"}
redmine-1  | I, [2024-09-07T12:14:39.750461 #1]  INFO -- :   Current user: admin.delany (id=74)
redmine-1  | E, [2024-09-07T12:14:39.977044 #1] ERROR -- : Deface: [ERROR] The original source for 'show-projects-in-issue-description' has changed, this override should be reviewed to ensure it's still valid.
redmine-1  | I, [2024-09-07T12:14:40.042171 #1]  INFO -- :   Rendered issues/show.html.erb within layouts/base (Duration: 59.5ms | Allocations: 17770)
redmine-1  | I, [2024-09-07T12:14:40.042285 #1]  INFO -- :   Rendered layout layouts/base.html.erb (Duration: 59.7ms | Allocations: 17796)
redmine-1  | I, [2024-09-07T12:14:40.042591 #1]  INFO -- : Completed 500 Internal Server Error in 297ms (ActiveRecord: 125.8ms | Allocations: 72240)
redmine-1  | F, [2024-09-07T12:14:40.044054 #1] FATAL -- :   
redmine-1  | ActionView::Template::Error (Mysql2::Error: Table 'redmine.issues_projects' doesn't exist):
redmine-1  |     80: <%= render_half_width_custom_fields_rows(@issue) %>
redmine-1  |     81: <%= call_hook(:view_issues_show_details_bottom, :issue => @issue) %>
redmine-1  |     82: </div>
redmine-1  |     83: <% if (@issue.projects-[@issue.project]).present? %>
redmine-1  |     84:   <hr>
redmine-1  |     85:   <div id="current_projects_list" style="display: flex;">
redmine-1  |     86:     <span id="label_related_projects"><%= l("related_projects") %></span>
redmine-1  |   
redmine-1  | app/views/issues/show.html.erb:83:in `_668a34700a078d351f295ceac964fc5d'
redmine-1  | app/controllers/issues_controller.rb:118:in `block (2 levels) in show'
redmine-1  | app/controllers/issues_controller.rb:110:in `show'
redmine-1  | lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions