Commit 84bba905 authored by Maiken's avatar Maiken

Merge branch 'dev-fix-emptystrings' into 'master'

fixed an issue in ARC*Clusterinfo prioritizedvalue that caused empty attributes to be rendered in XML

See merge request !943
parents f31c235f 1e50a58f
Pipeline #7433 passed with stages
in 111 minutes and 51 seconds
......@@ -29,7 +29,7 @@ sub prioritizedvalues {
}
# just in case all the above fails, return empty string
$log->debug("No suitable value found in call to prioritizedvalues. Returning empty string");
$log->debug("No suitable value found in call to prioritizedvalues. Returning undefined");
return undef;
}
......
......@@ -666,8 +666,8 @@ sub prioritizedvalues {
}
# just in case all the above fails, log and return empty string
$log->debug("No suitable value found in call to prioritizedvalues. Returning empty string");
return '';
$log->debug("No suitable value found in call to prioritizedvalues. Returning undefined");
return undef;
}
# TODO: add VOs information
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment