Notifications

718 views

Description

Sensor error when processing Windows - Installed Software. ReferenceError: "related_data" is not defined

Steps to Reproduce

 

Run discovery to a Windows PC that has Adobe Acrobat installed

Workaround

Navigate to:
Discovery Definition > Probes > open "Windows - Installed Software" > under "Post processor script", change below script
 
from:
if (/Acrobat/.test(displayName) && !gs.nil(uninstallString) && (uninstallString.indexOf("{") >= 0)&&(uninstallString.indexOf("}") >= 0)) {
var editionString = uninstallString.split("{")[1];
editionString = editionString.split("}")[0];
if (!gs.nil(editionString)) {
var splitEdition = editionString.split("-");
if (splitEdition.length >= 4)
softwareList[uniqueName].edition = splitEdition[3];
}
}
 
to:
if (/Acrobat/.test(displayName) && !JSUtil.nil(uninstallString) && (uninstallString.indexOf("{") >= 0)&&(uninstallString.indexOf("}") >= 0)) {
var editionString = uninstallString.split("{")[1];
editionString = editionString.split("}")[0];
if (!JSUtil.nil(editionString)) {
var splitEdition = editionString.split("-");
if (splitEdition.length >= 4)
softwareList[uniqueName].edition = splitEdition[3];
}
}

Related Problem: PRB1304085

Seen In

There is no data to report.

Fixed In

Kingston Patch 11
London
Madrid

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:39:49
Published:2018-10-12