[taskjuggler-dev] Strange behavior for container collapsed tasks

35 views
Skip to first unread message

Benu

unread,
May 5, 2010, 4:43:15 AM5/5/10
to TaskJuggler Development
Dear TJDevelopment list,

I have found this strange behavior. It's quite hard to replicate,
since it seems to be random.
It concerns container task like t1 in this short example:

task t1 "T1" {
task t11 "T11" {
effort 1d
allocate r1
}
task t12 "T12" {
effort 1d
allocate r1
}
}

It's appearing to me using TJ 2.4.3, with interactive reports like:

taskreport "TR" {
headline "Task Overview"
columns name, chart
scenario actual
loadunit weeks
hideresource 1
rolluptask treelevel() >= 1
}

Sometimes rolledup tasks appear as a blue bar (like for a planned
task) and sometimes they appear as a container task (black line).
Referring to the example before, the report can either look like:

t1 v----------v

or like:

t1 [====####]

where I used "v-----v" to represent a container task and "[====###]"
to represent a in-progress task.

Is this normal?

Thank you very much, best regards.
Benoît

--
You received this message because you are subscribed to the "TaskJuggler Development" group.
To post to this group, send email to taskjug...@googlegroups.com
To unsubscribe from this group, send email to
taskjuggler-d...@googlegroups.com
For more information about TaskJuggler visit http://www.taskjuggler.org.

Chris Schlaeger

unread,
May 5, 2010, 12:48:39 PM5/5/10
to taskjug...@googlegroups.com
On Wed, May 5, 2010 at 10:43 AM, Benu <benoit....@gmail.com> wrote:
> Sometimes rolledup tasks appear as a blue bar (like for a planned
> task) and sometimes they appear as a container task (black line).
> Referring to the example before, the report can either look like:

> Is this normal?

Yes, this was a feature contributed by a user. But it's not random.
When you roll-up a container it is displayed as a leaf task.

Chris

Benoit Bidoggia

unread,
May 6, 2010, 2:53:09 AM5/6/10
to taskjug...@googlegroups.com
Dear Chris,

I can confirm you: it's really random. What I meant is that the same
rolled-up container
can either appear as a bar or as a task, in the same exactly rolled-up
condition.

If it doesn't appear as a task (that should be the normal behavior), I
need to close and open again the TJ user interface and -hopefully- it
appears correctly as a task.

Is there any kind of information I can provide to help dubuggin?

Thank you very much, best regards.
Benoît


Chris Schlaeger

unread,
May 6, 2010, 5:33:17 AM5/6/10
to taskjug...@googlegroups.com
On Thu, May 6, 2010 at 8:53 AM, Benoit Bidoggia
<benoit....@gmail.com> wrote:
> If it doesn't appear as a task (that should be the normal behavior), I
> need to close and open again the TJ user interface and -hopefully- it
> appears correctly as a task.
>
> Is there any kind of information I can provide to help dubuggin?

A small test project to reproduce the problem on my machine would help.

Benoit Bidoggia

unread,
May 7, 2010, 11:11:52 AM5/7/10
to taskjug...@googlegroups.com
Dear Chris,

Here you can find the test program I have used.
I also have included in a .zip file the test program with three
screenshots of TJ user interface:
1) with the container task unrolled;
2) with the container task correctly rolled up;
3) with the container task incorrectly rolled up.
I'm sending the file to your email address, since I read that it's not
possible to attache files to the group.

To switch between correct and incorrect results I just closed TJUI and
opened it again.
I did this test 45 times, these are the results:

1) OK
2) wrong
3) wrong
4) wrong
5) wrong
6) wrong
7) wrong
8) wrong
9) wrong
10) wrong
11) wrong
12) wrong
13) wrong
14) wrong
15) wrong
16) OK
17) wrong
18) OK
19) OK
20) OK
21) OK
22) wrong
23) wrong
24) wrong
25) wrong
26) wrong
27) wrong
28) wrong
29) wrong
30) wrong
31) wrong
32) wrong
33) OK
34) wrong
35) OK
36) wrong
37) wrong
38) wrong
39) wrong
40) OK
41) wrong
42) wrong
43) wrong
44) wrong
45) wrong

I hope this can be of any help.
Best regards,
Benoît

vvvvvvvvvvvvv prova.tjp vvvvvvvvvvvvv
project p1 "P1" "1.0" 2010-05-07 - 2010-11-03 {

scenario plan "Plan" {
scenario delayed "Delayed"
}
}

resource r1 "R1"

task t1 "T1" {
start 2010-05-07

task t11 "T11" {
effort 1d
allocate r1
}
task t12 "T12" {
effort 1d
allocate r1
}
}

taskreport "Gantt Chart" {
columns name, chart
loadunit days
hideresource 1
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Reply all
Reply to author
Forward
0 new messages