[metastore] Fix database comment last character truncation
@@ -243,7 +243,7 @@ if (!('addRule' in CSSStyleSheet.prototype)) {
// "{Lead Developer=John Foo, Lead Developer Email=jfoo@somewhere.com, date=2013-07-11 }"
var parsedParams = {};
if (pseudoJson && pseudoJson.length > 2){
- var splits = pseudoJson.substring(1, pseudoJson.length-2).split(', ');
+ var splits = pseudoJson.substring(1, pseudoJson.length-1).split(', ');
splits.forEach(function(part){
if (part.indexOf('=') > -1){
parsedParams[part.split('=')[0]] = part.split('=')[1];
