Support Article

Modal dialog not opening in IE only, exception coming on screen

SA-38327

Summary



On click of button, local action in modal dialog has to be shown.Functionality works fine in chrome but in IE throwing exception.

Logs show Failed harness exception.


Error Messages


  1. Error Trying to Process Action that failed ActivityStatusError For class Data-Portal
  2. Contact your System Admin


Steps to Reproduce

  1. Add button with On Click "Refresh Other Section" and "Open Local action in Modal Dialog" in section .
  2. Run case and click on button.

Root Cause



A software use or operation error :-

In IE, while opening Modal dialog as part of button click, event.target.parnetNode is coming as empty due to which ajax call is sent without base reference. Run time based on base reference parameter activity from appropriate class is called. Since the end user's parameter is null, it throws error in tracer.Removing Refresh Other Section resolves the issue.

The user did not respond with business scenario to keep refresh other section action on button.As there are other buttons present based on visibility condition without Refresh Other Section for similar case.

Resolution



Perform the following local-change:

Modify action set configured on the button, that is keep local action in modal dialog first and then refresh other section (this can be removed also if not required).

Published May 22, 2017 - Updated June 28, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.