Feng Forum

Support => Older versions => : Nuno Zimas July 19, 2009, 06:37:53 PM

: 1.5 rc - tasks / milestones in wrong workspaces
: Nuno Zimas July 19, 2009, 06:37:53 PM
As administrator i am getting tasks ande milestones which belong to Workspace X also in Workspace Y.
Could not establish a pattern of error.

Nuno.

[EDIT]

This is an outstanding bug. It's quite annoying to have milestones from a certain workspace showing up at random in other workspaces.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: ignacio July 21, 2009, 12:52:48 PM
Hi Nuno,

When you enter one of those task's view, on the bottom right, do you see the correct workspace?
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Nuno Zimas July 21, 2009, 03:22:15 PM
When you enter one of those task's view, on the bottom right, do you see the correct workspace?

Yes.
The correct workspace also appears in the task list view, although in a wrong worspace.
The screenshots i am attaching depict this issue in detail.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: ignacio July 28, 2009, 10:14:02 AM
Could it be that the milestones shown on a wrong workspace contain tasks from another workspace?
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Nuno Zimas July 28, 2009, 02:55:23 PM
Doesn't look like.
Have checked a milestone containing 3 tasks and they are all assigned to a specific workspace, though the milestone itself appears on another workspace as well. The tasks in that milestone only display in the correct workspace, which may indicate that this issue only affects milestones.

So, milestone X, comprised of tasks x1, x2, x3, belongs to workspace Y.
Milestone X also displays (wrongfully) in workspace K.
Tasks x1, x2, x3 only display in workspace Y, as expected.

Could it be a DB mapping issue caused by a fauity upgrade?
Is there a schematic difference in the DB tables between oGoo 1.4 and 1.5?
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Pet July 28, 2009, 07:04:07 PM
I am having this same issue.  About 10% of my milestones are appearing not only in their proper workspaces, but also in other workspaces that they should not be.  They do not contain tasks from another workspace (some are empty, I haven't yet created any tasks in them). They also show the proper workspace in the Properties box, but appear in the wrong place as well as in the right workspace.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: ignacio July 29, 2009, 04:57:21 PM
Was this behavior present on version 1.4.2? Does it happen with milestones created since 1.5 or only milestones created before 1.5?
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Pet July 29, 2009, 05:13:06 PM
I did not notice it in 1.4.2, and I'm pretty certain I would have noticed it before. It happens with milestones created in 1.4.2.  I created a couple of milestones today, and they were showing up in the correct places.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: rm249 July 29, 2009, 07:20:56 PM
I too am also experiencing this problem. It was not there in 1.4.2. I just upgraded to the latest version.

Other milestones only seem to appear when you have the Group By: Milestone selected. All of the incorrectly placed milestones do not have any tasks in them. I tried editing the Workspace option for the milestone to another workspace, then back to its original workspace and it still shows up.

It's strange because it only seems to have this bug on the first workspace in the list, all the other workspaces are fine and show the correct milestones.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: alvarotm01 August 03, 2009, 11:27:37 AM
Hi,

To fix the issue add this line before line 558 of 'application/controllers/TaskController.class.php'
:
$projectstr = " AND " . ProjectMilestones::getWorkspaceString($pids);

regards
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Pet August 03, 2009, 04:50:58 PM
that solved it, thank you
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: rm249 August 03, 2009, 05:03:48 PM
@alvarotm01 thanks a lot that fixed it :)
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Nuno Zimas August 04, 2009, 08:37:34 AM
Works a treat, Igancio.
Great debugging job!

Nuno.
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: William August 04, 2009, 01:06:32 PM
Well done! :D
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: msauter December 06, 2009, 10:38:24 AM
With OpenGoo 1.5.3 I'm still having problems with milestones belonging to a different workspace than the task. But the problem seems to be limited to the quick edit form (inline editing in the task list), it does not exist in the full edit view.

Can anyone confirm this observation?

- Martin
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: Pet December 06, 2009, 07:04:14 PM
I tested > 20 of mine in the inline editing method, and they are all reporting the correct workspace in 1.5.3.  Perhaps recheck the code to make sure it's an exact copy/paste of that line?
: Re: 1.5 rc - tasks / milestones in wrong workspaces
: msauter December 20, 2009, 05:39:50 PM
Are you talking about the code line provided by alvarotm01?

Well, I didn't insert that code line. Since the bug was found in 1.5RC I expected it to be fixed in 1.5.3. Obviously it's not...  :(