A set of subactivities has a set of preferred time slots

Started by JinZhao, December 25, 2018, 02:52:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JinZhao

Dear Sir:
Is it a bug when I use the function "A set of subactivities has a set of preferred time slots"?

There are two *.fet attached.

OK.fet has a Activity_Group_Id 1 and it's activity Id 1,2,3,4,5.
Not_OK.fet's Activity_Group_Id 1 and it's activity Id 11,12,13,14,15.

The only difference between two files is the activity Id.

Looking forward to your reply.

Volker Dirr

#1
You modified the fet file yourself, didn't you?
If FET produced the file itself: please tell us how you done it. i can't reproduce the bug.

I guess you modified it yourself and you forgot to modify the <Activity_Group_Id>. It still refer to id 1, but there is no id 1 on that file. So that is a bug of course.

If you group activities, then the ids should be ordered and they should be also consecutive.
So 4, 5, 6 is fine.
But 5, 4, 6 is bad, since it is not ordered.
Also 4, 5, 7 is bad, since it is not consecutive.
The group id should be the lowest value.

If the group contains only a single activity, then the group id should be 0 instead of the itself.

JinZhao

Yes, I did modified FET files.

And thank you so much for introducing to me the relations between group Activities and Activity_Group_Id!