Project

General

Profile

Actions

Bug #481

closed

Error processing location entry

Added by Carsten Stanusch 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
11/12/2023
Due date:
% Done:

0%

Estimated time:

Description

The following was carried out:
  • New Redmine System 5.0.6
  • without additional plugins
  • ERPMine v4.7
  • Creation of a location
  • Upload a logo as an attachment (logo.png)
  • If this location is then called up again, I get the following error message:
I, [2023-11-12T11:49:19.517013 #313]  INFO -- : [eb228c26-8283-46a4-a821-a1aab74ae548] Completed 500 Internal Server Error in 64ms (ActiveRecord: 30.1ms | Allocations: 7030)
F, [2023-11-12T11:49:19.519485 #313] FATAL -- : [eb228c26-8283-46a4-a821-a1aab74ae548]   
[eb228c26-8283-46a4-a821-a1aab74ae548] ActionView::Template::Error (No route matches {:action=>"edit_all", :controller=>"attachments", :id=>"1", :object_id=>1, :object_type=>"wk_locations"}, possible unmatched constraints: [:object_type]
Did you mean?  object_attachments_edit_url):
[eb228c26-8283-46a4-a821-a1aab74ae548]     1: <div class="attachments">
[eb228c26-8283-46a4-a821-a1aab74ae548]     2: <div class="contextual">
[eb228c26-8283-46a4-a821-a1aab74ae548]     3:   <%= link_to(l(:label_edit_attachments),
[eb228c26-8283-46a4-a821-a1aab74ae548]     4:               container_attachments_edit_path(container),
[eb228c26-8283-46a4-a821-a1aab74ae548]     5:               :title => l(:label_edit_attachments),
[eb228c26-8283-46a4-a821-a1aab74ae548]     6:               :class => 'icon-only icon-edit'
[eb228c26-8283-46a4-a821-a1aab74ae548]     7:              ) if options[:editable] %>
[eb228c26-8283-46a4-a821-a1aab74ae548]   
[eb228c26-8283-46a4-a821-a1aab74ae548] app/helpers/attachments_helper.rb:23:in `container_attachments_edit_path'
[eb228c26-8283-46a4-a821-a1aab74ae548] plugins/redmine_wktime/app/views/wkdocument/_links.html.erb:4
[eb228c26-8283-46a4-a821-a1aab74ae548] plugins/redmine_wktime/app/helpers/wkdocument_helper.rb:109:in `attachments_links'
[eb228c26-8283-46a4-a821-a1aab74ae548] plugins/redmine_wktime/app/views/wkdocument/_attachment_form.html.erb:7
[eb228c26-8283-46a4-a821-a1aab74ae548] plugins/redmine_wktime/app/views/wklocation/edit.html.erb:45
[eb228c26-8283-46a4-a821-a1aab74ae548] plugins/redmine_wktime/app/views/wklocation/edit.html.erb:1
[eb228c26-8283-46a4-a821-a1aab74ae548] lib/redmine/sudo_mode.rb:61:in `sudo_mode'
Actions #1

Updated by dhanalakshmi c 6 months ago

Carsten Stanusch wrote:

The following was carried out:
  • New Redmine System 5.0.6
  • without additional plugins
  • ERPMine v4.7
  • Creation of a location
  • Upload a logo as an attachment (logo.png)
  • If this location is then called up again, I get the following error message:

[...]

This issue is fixed in 4.7.1.
4.7.1 is released, Please take a look.

Thanks
Dhanalakshmi

Actions #2

Updated by dhanalakshmi c 6 months ago

  • Status changed from New to Closed
  • Target version changed from 4.8 to 4.7.1
Actions

Also available in: Atom PDF