Project

General

Profile

Actions

Defect #19657

closed

Can't reorder activities after disabling activities on a project

Added by Zer Guz almost 9 years ago. Updated over 8 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Steps to reproduce:
  • 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

Related to Redmine - Defect #20117: Activities set as inactive missing in spent time report filterClosedJean-Philippe Lang

Actions
Actions #1

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Needs feedback

I cannot reproduce on 3.0.3 and 2.6.5.

Actions #2

Updated by Zer Guz almost 9 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.
Actions #3

Updated by Toshi MARUYAMA almost 9 years ago

I can reproduce first time for new item on 2.6.5, but work second time.
I cannot reproduce on 3.0.3.

Actions #4

Updated by Toshi MARUYAMA almost 9 years ago

I cannot reproduce on 3.0.0.

Actions #5

Updated by Toshi MARUYAMA almost 9 years ago

Toshi MARUYAMA wrote:

I cannot reproduce on 3.0.0.

Works on Windows IE/Chrome/Firefox.

Actions #6

Updated by Zer Guz almost 9 years ago

Tried with 3.0.3 (default bitnami setup) - cannot reproduce the issue. Still it is happening with our production setup based on 3.0.1. I cannot yet confirm if it is because of the version difference or because of our production data. Will confirm when we switch our production setup to 3.0.3.

Actions #7

Updated by Zer Guz almost 9 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.

Actions #8

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Needs feedback to New
Actions #9

Updated by Toshi MARUYAMA over 8 years ago

  • Target version set to 3.1.0
Actions #10

Updated by Toshi MARUYAMA over 8 years ago

  • Related to Defect #20117: Activities set as inactive missing in spent time report filter added
Actions #11

Updated by Jean-Philippe Lang over 8 years ago

  • Target version changed from 3.1.0 to 3.2.0
Actions #12

Updated by Jean-Philippe Lang over 8 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.

Actions #13

Updated by Jean-Philippe Lang over 8 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
Actions

Also available in: Atom PDF