Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314930 - grid summary shows yellow for communication field
Summary: grid summary shows yellow for communication field
Status: VERIFIED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Project Management & Portal (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Portal Bugzilla Dummy Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 14:17 EDT by David Williams CLA
Modified: 2013-02-06 16:07 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2010-05-28 14:17:35 EDT
At least for the Eclipse Project, at least in overall summary page: 
 

Some projects showing green, but 
I'm wondering if there's a typo or something in summary page specifically for Eclipse? others? 

The reason I think that, is that is shows up "green" for Eclipse in the "show all projects" page: 

http://eclipse.org/helios/planning/SimultaneousReleaseGrid.php?showallprojects=true

I did not check any other yellows.
Comment 1 David Williams CLA 2010-05-28 14:21:48 EDT
oops, forgot to past URL to overall summary page. 
http://eclipse.org/helios/planning/SimultaneousReleaseGrid.php?
Comment 2 Wayne Beaton CLA 2010-05-28 15:18:43 EDT
The code does a roll up of all child projects (excluding the parent itself) in the "overall summary" page. Since the Eclipse Project is not releasing any child projects, it's showing up as "unknown".

What is the desired behaviour for a roll-up?
Comment 3 John Arthorne CLA 2010-06-01 11:21:49 EDT
(In reply to comment #2)
> The code does a roll up of all child projects (excluding the parent itself) in
> the "overall summary" page. Since the Eclipse Project is not releasing any
> child projects, it's showing up as "unknown".
> 
> What is the desired behaviour for a roll-up?

I'm not sure what roll-up means, but from what I see in the portal, I am entering all the information against the parent project, so would expect the summary grid to reflect what I entered there. There is no data entered for any of the child projects.

To take another angle, why is only this field yellow while all other fields are green? As far as I can tell I entered information for all fields in the same way...
Comment 4 Wayne Beaton CLA 2010-06-01 11:55:31 EDT
(In reply to comment #3)
> To take another angle, why is only this field yellow while all other fields are
> green? As far as I can tell I entered information for all fields in the same
> way...

It's yellow because top-level projects themselves are second-class citizens when the grid is restricted to showing top-level projects only. In this mode, what's being shown is a roll up of the subprojects that excludes the top-level itself.

I need to understand the intent of this mode before I can fix it.
Comment 5 David Williams CLA 2010-06-01 12:48:32 EDT
> 
> I need to understand the intent of this mode before I can fix it.

This top level grid is to show a a condensed version of the full, flat table at 
http://eclipse.org/helios/planning/SimultaneousReleaseGrid.php?showallprojects=true

So, for projects like Eclipse, Webtools, etc., the two tables should show the same thing, since they have opted to track at one level to begin with. 

Where its tricky is for projects like Tools, Modeling, Technology, where multiple columns of 
http://eclipse.org/helios/planning/SimultaneousReleaseGrid.php?showallprojects=true 
are supposed to be collapsed to one column in 
http://eclipse.org/helios/planning/SimultaneousReleaseGrid.php

And they are to be collapsed by, basically, showing "least" value of what it is collapsing. For example, if even one subproject in modeling is yellow for an item, then modeling TL would show yellow. Another example, if 4 subprojects of modeling showed green 4 yellow, and one red, then Top Level Modeling would show red.
Comment 6 Wayne Beaton CLA 2010-06-01 17:13:25 EDT
(In reply to comment #4)
> (In reply to comment #3)
> > To take another angle, why is only this field yellow while all other fields
> are
> > green? As far as I can tell I entered information for all fields in the same
> > way...
> 
> It's yellow because top-level projects themselves are second-class citizens when
> the grid is restricted to showing top-level projects only. In this mode, what's
> being shown is a roll up of the subprojects that excludes the top-level itself.
> 
> I need to understand the intent of this mode before I can fix it.

It turns out that there is just some bizarreness in the script. Frankly, I'm having a heck of time debugging it (it's all done with arrays, making debugging a wonderfully painful experience). I'll take a run at just rewriting it (using a class or two) tonight.
Comment 7 Wayne Beaton CLA 2013-01-30 16:01:14 EST
All Helios planning pages that point to dynamic data are basically broken. I've redirected them to http://www.eclipse.org/projects/releases/release.php?release=helios
Comment 8 David Williams CLA 2013-02-06 16:07:19 EST
bookkeeping