Project

General

Profile

Actions

Defect #41503

closed

Internal Error Creating Subprojects

Added by Optimal OP Grupo Innova 14 days ago. Updated 14 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Good morning to everyone,

Since a couple of days I have started to receive the ‘Internal error’ message every time I want to create a new project or subproject. I work with Redmine 3.4.6.stable. I've checked the logs and I get the following error:

App 2120 stderr: Started GET "/projects/new?parent_id=cliente-gestioneinver" for 192.168.3.1 at 2024-10-17 17:17:07 +0200
App 2120 stderr: Processing by ProjectsController#new as HTML
App 2120 stderr:   Parameters: {"parent_id"=>"cliente-gestioneinver"}
App 2120 stderr:   Current user: SAl (id=10)
App 2120 stderr:   Rendered projects/_form.html.erb (364.0ms)
App 2120 stderr:   Rendered projects/new.html.erb within layouts/base (365.7ms)
App 2120 stderr: Completed 500 Internal Server Error in 406ms (ActiveRecord: 5.5ms)
App 2120 stderr: 
App 2120 stderr: ActionView::Template::Error (No route matches {:action=>"new", :contact_field_name=>"project[custom_field_values][1]", :contacts_is_company=>true, :controller=>"contacts", :project_id=>#<Project id: nil, name: "", description: nil, homepage: "", is_public: false, parent_id: nil, created_on: nil, updated_on: nil, identifier: "licencias-kaspersky-24-26", status: 1, lft: nil, rgt: nil, inherit_members: false, default_version_id: nil, default_assigned_to_id: nil>} missing required keys: [:project_id]):
App 2120 stderr:     31: <%= wikitoolbar_for 'project_description' %>
App 2120 stderr:     32: 
App 2120 stderr:     33: <% @project.custom_field_values.each do |value| %>
App 2120 stderr:     34:   <p><%= custom_field_tag_with_label :project, value %></p>
App 2120 stderr:     35: <% end %>
App 2120 stderr:     36: <%= call_hook(:view_projects_form, :project => @project, :form => f) %>
App 2120 stderr:     37: </div>
App 2120 stderr:   plugins/redmine_contacts/lib/redmine_contacts/helpers/contacts_helper.rb:109:in `select_contact_tag'
App 2120 stderr:   plugins/redmine_contacts/lib/company_custom_field_format.rb:38:in `edit_tag'
App 2120 stderr:   app/helpers/custom_fields_helper.rb:82:in `custom_field_tag'
App 2120 stderr:   app/helpers/custom_fields_helper.rb:109:in `custom_field_tag_with_label'
App 2120 stderr:   app/views/projects/_form.html.erb:34:in `block in _app_views_projects__form_html_erb___418460441665439031_46975797503560'
App 2120 stderr:   app/views/projects/_form.html.erb:33:in `each'
App 2120 stderr:   app/views/projects/_form.html.erb:33:in `_app_views_projects__form_html_erb___418460441665439031_46975797503560'
App 2120 stderr:   app/views/projects/new.html.erb:4:in `block in _app_views_projects_new_html_erb__4205594820294804096_69970436434780'
App 2120 stderr:   app/helpers/application_helper.rb:1190:in `labelled_form_for'
App 2120 stderr:   app/views/projects/new.html.erb:3:in `_app_views_projects_new_html_erb__4205594820294804096_69970436434780'
App 2120 stderr:   lib/redmine/sudo_mode.rb:63:in `sudo_mode'

I would be very grateful if you could help me with this error.

Thank you in advance.

Actions

Also available in: Atom PDF