#677 Classic UI: Metadata view links in metadata show cause a javascript error in debug mode