Defect #19657
Can't reorder activities after disabling activities on a project
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Administration | |||
Target version: | 3.2.0 | |||
Resolution: | Fixed | Affected version: | 3.0.0 |
Description
- Add an activity item -> it appears in the bottom of the list.
- Try to move this last item one level up -> it doesn't move.
Moving the item directly to the top works. Then you can move it one level down and up. Only the last item won't move one level up.
Related issues
Associated revisions
Forces enumeration override position to the same as its parent (#19657).
SQL error with MySQL (#19657).
Update enumeration ovverides with their parents (#19657).
History
#1
Updated by Toshi MARUYAMA over 7 years ago
- Status changed from New to Needs feedback
#2
Updated by Zer Guz about 7 years ago
I tried with 3.0.1 and the problem is there. I will try with 3.0.3 as soon as I have the opportunity.
Clarifications:- This is happening in Administration -> Enumerations -> Activities (time tracking).
- The problem always happens for me after I add a new item. Trying this with the last item that you already have in this enumeration might not reproduce the problem.
- I tried with Firefox and IE: the problem happens in both.
#3
Updated by Toshi MARUYAMA about 7 years ago
#4
Updated by Toshi MARUYAMA about 7 years ago
I cannot reproduce on 3.0.0.
#5
Updated by Toshi MARUYAMA about 7 years ago
#6
Updated by Zer Guz about 7 years ago
#7
Updated by Zer Guz about 7 years ago
Now I managed to reproduce the problem with 3.0.3 installed from the scratch (bitnami VM image with no previous data). It happens when you define a project with a custom set of activities (disable some activities).
This is what I did:- I set these activities in Administration -> Enumerations (in this order):
- Design (Active=OFF)
- Development (Active=ON)
- Create a project and set in Project -> Settings -> Activities:
- Design (Active=ON)
- Development (Active=OFF)
- Go back to Administration -> Enumerations.
- Add activity "Testing". It will be added at the end of the list.
- Move "Testing" one level up. Will not move. <- THIS IS THE PROBLEM
- Go again to the previous Project -> Settings -> Activities. Note that ii shows the order (Design, Testing, Development). IT SEEMS THAT MOVING THE ACTIVITIES IN ADMINISTRATION AFFECTS INSTEAD THE ORDER IN THIS PROJECT.
So it looks like 3.0.3 is affected too.
#8
Updated by Toshi MARUYAMA about 7 years ago
- Status changed from Needs feedback to New
#9
Updated by Toshi MARUYAMA about 7 years ago
- Target version set to 3.1.0
#10
Updated by Toshi MARUYAMA about 7 years ago
- Related to Defect #20117: Activities set as inactive missing in spent time report filter added
#11
Updated by Jean-Philippe Lang about 7 years ago
- Target version changed from 3.1.0 to 3.2.0
#12
Updated by Jean-Philippe Lang almost 7 years ago
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
This problem was indeed caused by overrides at projet level. It should be fixed in r14627.
If your positions are messed up (not sequential), this will be fixed after the first reodering.
#13
Updated by Jean-Philippe Lang almost 7 years ago
- Subject changed from Can't move one level up the last activity item. to Can't reorder activities after disabling activities on a project