Script Error upon saving a monitor profile resource on a new instance of ALM/PC 12.21

  • Questions
  • Script Error upon saving a monitor profile resource on a new instance of ALM/PC 12.21
Question ID: 106474
2
0

I’m getting this error, but it only occurs when I’m in the ALM desktop client. I can successfully save the monitors/profile without error in "My Perf Center."
![alt text][1]

[1]: /storage/temp/362-add-monitor-error.png

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on October 27, 2015 2:08 pm
19 views
Answers (1)
2
Private answer

This is a known issue by HP, by modifying the MonitorProfileEditMonitor.aspx on the Performance Center server web site. Log onto the PC server and stop IIS, then make the following changes to the file:
HPPerformance Center ServerPCWEBMonitorProfiles

The OLD file had the following function:

function saveClicked() {

if (checkPageValid()) {

if (window.editPageController) {

editPageController.saveProperties();

}

else {

GetRadWindow().Close({ 'closeOperation': 'save' });

}

}

}

The NEW file has the following changes to the function:

function saveClicked() {

if (checkPageValid()) {

if (window.editPageController) {

editPageController.saveProperties();

}

else {

if (window.frameElement.radWindow) {

setTimeout(function () {

GetRadWindow().Close({ 'closeOperation': 'save' });

}, 0);

}

else {

GetRadWindow().Close({ 'closeOperation': 'save' });

}
}

}

}
Once you apply this new file you should restart IIS.

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on October 27, 2015 2:19 pm
EyeOnTesting