buildframework/helium/tools/common/templates/log/cc_summary_metadata_orm.html.ftl
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
child 628 7c4a911dc066
--- a/buildframework/helium/tools/common/templates/log/cc_summary_metadata_orm.html.ftl	Tue Apr 27 08:33:08 2010 +0300
+++ b/buildframework/helium/tools/common/templates/log/cc_summary_metadata_orm.html.ftl	Thu Jul 22 17:08:43 2010 +0300
@@ -69,7 +69,7 @@
     <#list colors?keys as type>
         <#assign count =  table_info['jpasingle']['select count(m.id) from MetadataEntry m JOIN  m.priority as p JOIN m.component as c where (UPPER(p.priority)=\'${type?upper_case}\' and c.id=${component.id})'][0] >    
         <#if type=='error'>
-            <#assign count_missing = table_info['jpasingle']['select count(w.id) from WhatLogEntry w JOIN w.component c where c.logPathID=${logfile.id} and w.missing=\'true\''][0]> 
+            <#assign count_missing = table_info['jpasingle']['select count(w.id) from WhatLogEntry w JOIN w.component c where c.logPathID=${logfile.id} and c.id=${component.id} and w.missing=\'true\''][0]> 
             <#assign count = count?number + count_missing?number>
         </#if>
         <#if (count?number > 0)>