プロジェクト

全般

プロフィール

Vote #79680

未完了

Cannot change Project inside Issue

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
30104
author_id:
373712
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
141
ステータス-->[New]

説明

Hi there,

Running Redmine 3.6.4 on Debian 9 with Apache and Phusion Passenger running.

When running @rails -v@ and @ruby -v@ I get Rails 4.2.8 and ruby 2.4.4p296, respectively.

I've recently migrated the database from a quite old installation of Redmine (2.5.2) to a new one. Had no issues whatsoever.

I have 2 plugins running: redmine_dashboard and redmine_ics_export. I have tried disabling/uninstalling those, but to no avail.

When I click 'Edit' on an issue, I can change many parameters under Change properties, but not the project. This is the error I see in the logs:

@ActiveRecord::RecordNotFound (Couldn't find all IssueCategories with 'id': (all, {:joins=>:project, :conditions=>{:project_id=>[# homepage: "http://wiki.internal.company.com/wiki/index.php/Py...", is_public: false, parent_id: 26, created_on: "2014-12-16 08:32:05", updated_on: "2018-11-20 14:02:11", identifier: "nggg-components", status: 1, lft: 27, rgt: 28, inherit_members: true, inherit_categs: true, default_version_id: nil, default_assigned_to_id: nil>, #, # "2014-12-16 15:41:51", identifier: "research-development", status: 1, lft: 1, rgt: 70, inherit_members: false, inherit_categs: nil, default_version_id: nil, default_assigned_to_id: nil>]}, :order=>"name, projects.rgt"}) (found 0 results, but was looking for 2)):
app/models/project.rb:156:in inherited_categories'
app/models/issue.rb:388:in
project='
app/models/issue.rb:358:in project_id='
app/models/issue.rb:528:in
safe_attributes='
app/controllers/issues_controller.rb:478:in update_issue_from_params'
app/controllers/issues_controller.rb:155:in
edit'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'@

Bundler says that it's @Using activerecord 4.2.8@. If I run @gem list | grep record@ I get @activerecord (5.2.2, 4.2.8, 4.2.0)@.

How do I fix this? Does this have to do with the Redmine version?

Thank you in advance.


journals

Small addition - pressing *Save* results in a 404 page not found error. Reloading the page afterwards brings the issue up again, unchanged.
--------------------------------------------------------------------------------

Admin Redmine さんが約2年前に更新

  • カテゴリIssues_2 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0