Content
View differences
Updated by Jens Ulferts almost 13 years ago
Given there is a project
And there is planning element called “pe”
And I go to the new planning element page in this project
And I enter stuff to make the planning element valid (Subject, …)
And I enter the id of the planning element called “pe” into the “Parent” field
And I press “Create”
Then the planning element should be created with “pe” as it’s parent
Instead:
I receive the following error (Dev mode):
Couldn't find WorkPackage with id=1 [WHERE "work_packages"."root_id" IS NULL]
This does not happen for issues.
It seems to be caused by the root\_id being explicitly handled for issues but not for planning elements.
And there is planning element called “pe”
And I go to the new planning element page in this project
And I enter stuff to make the planning element valid (Subject, …)
And I enter the id of the planning element called “pe” into the “Parent” field
And I press “Create”
Then the planning element should be created with “pe” as it’s parent
Instead:
I receive the following error (Dev mode):
Couldn't find WorkPackage with id=1 [WHERE "work_packages"."root_id" IS NULL]
This does not happen for issues.
It seems to be caused by the root\_id being explicitly handled for issues but not for planning elements.