community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From he...@apache.org
Subject svn commit: r1821963 - /comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
Date Tue, 23 Jan 2018 08:31:27 GMT
Author: henkp
Date: Tue Jan 23 08:31:27 2018
New Revision: 1821963

URL: http://svn.apache.org/viewvc?rev=1821963&view=rev
Log:
show checker errors, if any (16)

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

Modified: comdev/reporter.apache.org/trunk/site/js/render-hppdev.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/render-hppdev.js?rev=1821963&r1=1821962&r2=1821963&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/render-hppdev.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/render-hppdev.js Tue Jan 23 08:31:27 2018
@@ -679,8 +679,12 @@ function renderFrontPage(json) {
 			renderJIRA(pmc)
 		}
 
-        if (json.checker[pmc]['errors'] > 0) {
-            renderChecker(pmc)
+        // XXX HPP : json.checker[pmc] is undefinded, sometimes
+        if ( json.checker[pmc] ) {
+             if ( json.checker[pmc]['errors'] > 0 ) { renderChecker(pmc) }
+        } else {
+             var obj = buildPanel(pmc, "Dist Checker") ;
+             obj.innerHTML += "No checker data for PMC [" + pmc + "]\n" ;
         }
 
 



Mime
View raw message