mirror of https://github.com/BOINC/boinc.git
Fixed nasty bug in ops pages where top two WU error mask bits were
not being shown in WU summary/detail pages. svn path=/trunk/boinc/; revision=4710
This commit is contained in:
parent
1dd3076855
commit
5dee0314d3
|
@ -617,10 +617,31 @@ function show_host($host) {
|
|||
|
||||
function wu_error_mask_str($s) {
|
||||
$x = "";
|
||||
if ($s & 1) $x = $x."Couldn't send result; ";
|
||||
if ($s & 2) $x = $x."Too many errors (may have bug); ";
|
||||
if ($s & 4) $x = $x."Too many results (may be nondeterministic)";
|
||||
$x = $x."<br>";
|
||||
if ($s & 1) {
|
||||
$x = $x."Couldn't send result;<br>";
|
||||
$s -= 1;
|
||||
}
|
||||
if ($s & 2) {
|
||||
$x = $x."Too many errors (may have bug);<br>";
|
||||
$s -= 2;
|
||||
}
|
||||
if ($s & 4) {
|
||||
$x = $x."Too many results (may be nondeterministic)<br>";
|
||||
$s -= 4;
|
||||
}
|
||||
if ($s & 8) {
|
||||
$x = $x."Too many total results<br>";
|
||||
$s -= 8;
|
||||
}
|
||||
if ($s & 16) {
|
||||
$x = $x."WU cancelled<br>";
|
||||
$s -= 16;
|
||||
}
|
||||
if ($s) {
|
||||
$x = $x."Unrecognized Error: $s<br>";
|
||||
}
|
||||
if (strlen($s))
|
||||
$x="<font color='ff3333'>".$x."</font>";
|
||||
return $x;
|
||||
}
|
||||
|
||||
|
@ -648,6 +669,9 @@ function show_workunit($wu) {
|
|||
$_GET = array('workunitid' => $wu->id);
|
||||
show_result_summary();
|
||||
|
||||
$currenttime=time();
|
||||
echo "Current unix time is <b>$currenttime</b><br>";
|
||||
|
||||
start_table();
|
||||
row("Created", time_str($wu->create_time));
|
||||
row("Transition Time", time_str($wu->transition_time));
|
||||
|
|
Loading…
Reference in New Issue