Project

General

Profile

Actions

Defect #13654

closed

Can't set parent issue when issue relations among child issues are present

Added by daehong kim over 11 years ago. Updated over 8 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

#13586 solved the relation between subtasks. so subtasks has no relations can make new relation now.
but try to move tasks have relation under a task, "Failed to save 1 issue(s) on 2 selected: #xxx." is occurred.(only first issue is moved)
and try to move #xxx under parent issue, "Parent task is invalid" is occurred.

after remove the relation, it's OK.

I tested these things under r11692

Thanks.

About your application's environment
Ruby version 1.9.2 (x86_64-linux)
RubyGems version 1.8.24
Rack version 1.4
Rails version 3.2.13
Active Record version 3.2.13
Action Pack version 3.2.13
Active Resource version 3.2.13
Action Mailer version 3.2.13
Active Support version 3.2.13
Middleware Rack::Cache, ActionDispatch::Static, Rack::Lock, #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0x00000002da4290>, Rack::Runtime, Rack::MethodOverride, ActionDispatch::RequestId, Rails::Rack::Logger, ActionDispatch::ShowExceptions, ActionDispatch::DebugExceptions, ActionDispatch::RemoteIp, ActionDispatch::Callbacks, ActiveRecord::ConnectionAdapters::ConnectionManagement, ActiveRecord::QueryCache, ActionDispatch::Cookies, ActionDispatch::Session::CookieStore, ActionDispatch::Flash, ActionDispatch::ParamsParser, ActionDispatch::Head, Rack::ConditionalGet, Rack::ETag, ActionDispatch::BestStandardsSupport, OpenIdAuthentication
Application root /data/redmine
Environment production
Database adapter mysql2
Database schema version 20130217094251


Files

defect-13654.diff (5.38 KB) defect-13654.diff Patch by 62mkv (rev. 1) Kirill Marchuk, 2015-12-09 18:22

Related issues

Related to Redmine - Defect #13586: Circular loop testing prevents precedes/follows relation between subtasksClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #14015: Ruby hangs when adding a subtaskClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #17580: After copying a task, setting the parent as the orignal task's parent triggers an errorClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #8628: "Related to" reference may yield circular dependency error messageClosedJean-Philippe Lang2011-06-16

Actions
Has duplicate Redmine - Defect #15599: tickets that are related to each other block a declaration of parent task for them (error: invalid task)Closed

Actions
Has duplicate Redmine - Defect #17845: Assigning parent task fails when a related issue is yet a sub issue of the new parent taskClosed

Actions
Has duplicate Redmine - Defect #18403: Can't change parent task if an issue has some relationsClosed

Actions
Has duplicate Redmine - Defect #19406: Cannot set multiple "tasks with precedes/follows relationship" to *all* become child-tasks of some parentClosed

Actions
Has duplicate Redmine - Defect #20750: linking a copied issue to a superordinate ticket does not workClosed

Actions
Has duplicate Redmine - Defect #15320: Changing Child's Parent Ticket Field To Parent's Parent fails.Closed

Actions
Has duplicate Redmine - Defect #19627: Cannot set task.Parent = GrandparentClosed

Actions
Has duplicate Redmine - Defect #21758: Cannot specify parent task if has linked related issueClosed

Actions
Has duplicate Redmine - Defect #21558: The issue parent has in most caes to be deleted before assigning a new parent.Closed

Actions
Has duplicate Redmine - Defect #22774: "Parent task is invalid" message when setting parent to root issue after setting to a child of the root.Closed

Actions
Has duplicate Redmine - Defect #25137: Assigning a parent in issue properties does not work (Error "Parent task is invalid") although the Parent existsClosed

Actions
Actions

Also available in: Atom PDF