After upgrading to London, getGlideObject gives error "
Release or Environment
London or higher
getGlideObject is an internal, undocumented class and it is not supposed to be used externally.
The reason why it worked in pre-London is that, starting from London, Variable Sets have been elevated to be a first class citizen in Service Catalog, which means that variable sets are now accessible via script.
You don't have to use getGlideObject and can access the variables directly.
To resolve the behavior faced, please utilize a Script like the following:
if (gr.description == '')
var variables = current.variables.getElements();
var v = variables[i].getQuestion();
gr.description += v.getLabel() + " - " + v.getValue() + "\n";