A bug was discovered that needs to be brought to development.
Node names (caption) do not have any character restriction for their input, so the entry of a single quote is valid and accepted. However, a number of JavaScript function calls used within the interface use the node name as a parameter. These calls are constructed using single quotes to encapsulate the string value, but do so without escaping any characters contained within the string value itself. Thus the use of a single quote in the node name breaks the JavaScript function call. This bug was found with one of our resources, who’s node name was “Veterans's Park DVR”. When viewing the node details page, attempts to use the “Unmanage” button in the Management resource pain were failing to result in any dialog being displayed. Investigation found it was limited only to the one node, and the issue with the inclusion of the single quote within the name. A capture of the onclick function call is included below for reference.
Not working:
return showUnmanageDialog([953], 'Veteran's Park DVR');
Working (after changing node name):
return showUnmanageDialog([953], 'Veterans Park DVR');