Defect #6320
Subtasks do not appear under parent task in Issues view
| Status: | New | Start date: | 2010-09-07 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | - | |||
| Affected version: | 1.0.1 | Resolution: |
Description
When adding subtasks to issues (from the main issues/xx view using "Add subtask"), the subtasks do appear in the Subtasks view of that issue. Also the subtasks themselves seem to have the parent task number defined as they should.
However, in the main "Issues" view the subtasks appear as individual tasks, not as indented rows under the parent task as they should.
- Database version: MySQL 5.0
- Ruby version: 1.8.7
- Rails version: 2.3.5 (the one that came with Redmine in the vendor/ directory)
I'm using the Backlogs plugin (http://www.redminebacklogs.net/). It required database migration (http://www.redminebacklogs.net/en/installation/) - possibly it could have messed up something? But talso #6251 is some kind of sub-parent-task relation issue in 1.0.1.
History
#1 Updated by Siu Siu over 2 years ago
Same here, with almost fresh installation.
- Redmine: 1.0.0.stable
- Database: SQLite
- ruby 1.8.7 (2010-06-23 patchlevel 299)
- Redmine Checkout plugin installed (http://dev.holgerjust.de/projects/redmine-checkout).
#2 Updated by Siu Siu over 2 years ago
I've noticed that subtasks are correctly indented when the issue table is ordered by id in ascending mode:
- http://localhost:3000/projects/projectname/issues?sort=id sub-issues are correctly indented
- http://localhost:3000/projects/projectname/issues?sort=id%3Adesc sub-issues are not indented
#3 Updated by Jeffrey Stone over 2 years ago
I'm also seeing this with a fresh install of 1.0.1
#4 Updated by Thomas Fürlinger over 2 years ago
same here
#5 Updated by Dmitry Nemov over 2 years ago
The same problem, fresh install 1.0.1 (stable)
#6 Updated by Karel Král over 2 years ago
The same problem, fresh install 1.0.1 (stable)
#7 Updated by Greg Parker over 2 years ago
If you add "parent task" as a column. You can then sort by parent task and the items are grouped properly. This is the only way I found to get it to work.
#8 Updated by Terence Mill over 2 years ago
same here
#9 Updated by Damien Couderc over 2 years ago
Same here.
It would be nice if there was a grouping option to get the same result than Greg (#7).
#10 Updated by Ryan H about 2 years ago
It would appear that it doesn't work in the following situation:
Create Issue #1
Create Issue #2
Create Issue #3 with parent issue #2
It shows the following:
Issue #1
Issue #2
- Issue #3
Now change Issue #1 to have parent Issue #2.
It shows the following:
Issue #1
Issue #2
- Issue #3
The issues view should show it like this:
#11 Updated by Etienne Massip about 2 years ago
- File subtasks_tree_in_issues_list.PNG added
Can't reproduce on trunk :
#12 Updated by Adam M about 2 years ago
- File redmine-subtask-grouping-issue-1.png added
- File redmine-subtask-grouping-issue-2.png added
This issue does exist...
Using Redmine 1.1.3 on a Bitnami Stack
I've also used Redmine 1.0.1 on a Cent OS environment.
Please see attached images; for privacy reasons, I've censored some content.
Also there's no way to save a query to sort by ID that I can see in 1.1.3.
#13 Updated by Adam M about 2 years ago
Adam M wrote:
This issue does exist...
Using Redmine 1.1.3 on a Bitnami Stack
I've also used Redmine 1.0.1 on a Cent OS environment.Please see attached images; for privacy reasons, I've censored some content.
Also there's no way to save a query to sort by ID that I can see in 1.1.3.
I'd like to clarify this issue was occurring on both versions I've used whether it be a clean install or not.
I am not sure if it could maybe be an issue with created and saving a query?
#14 Updated by Etienne Massip about 2 years ago
Adam M wrote:
This issue does exist...
Using Redmine 1.1.3 on a Bitnami Stack
See Greg Parker's note (note 7), you should not sort on Id but on Parent task column.
#15 Updated by Pedro C almost 2 years ago
I can confirm this bug, the task appears wrong inside parent task details too, when editing parent on children task the id is correct.
Because of this bug I can have a correct report on a important project.
#16 Updated by Jonathan Chen about 1 year ago
I'm on version 1.3.1 and I am having the same issue where in the issue and on the gantt it is shown correctly, but in the issue view it is shown incorrectly. It mainly happens whenever I create the issue and put in the parent task at the same time of creation.