You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2015/10/08 15:26:50 UTC

svn commit: r1707536 - /comdev/reporter.apache.org/trunk/site/render.js

Author: humbedooh
Date: Thu Oct  8 13:26:50 2015
New Revision: 1707536

URL: http://svn.apache.org/viewvc?rev=1707536&view=rev
Log:
continue to next PMC if date data is broken/missing.
TAC isn't working.

Modified:
    comdev/reporter.apache.org/trunk/site/render.js

Modified: comdev/reporter.apache.org/trunk/site/render.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/render.js?rev=1707536&r1=1707535&r2=1707536&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/render.js (original)
+++ comdev/reporter.apache.org/trunk/site/render.js Thu Oct  8 13:26:50 2015
@@ -298,8 +298,12 @@ function renderFrontPage(json) {
 	var hcolors = ["#000070", "#007000", "#407000", "#70500", "#700000", "#A00000"]
 	var hvalues = ["Super Healthy", "Healthy", "Mostly Okay", "Unhealthy", "Action required!", "URGENT ACTION REQUIRED!"]
 	for (i in json.pmcs) {
-
 		var pmc = json.pmcs[i]
+		
+		// Stuff has broken, check that we have dates!
+		if (!json.dates[pmc]) {
+			continue
+		}
 		templates[pmc] = "Report from the " + (json.pdata[pmc].name ? json.pdata[pmc].name : pmc) + " committee [" + (json.pdata[pmc].chair ? json.pdata[pmc].chair : "Put your name here") + "]\n\n"
 
 		addLine(pmc, "## Description:")