cancel
Showing results for 
Search instead for 
Did you mean: 

Progress dialog only works local / not on ABAP server

christoph_nagl
Participant
0 Kudos

Hi Experts,

I have implemented a progress dialog like described in the documentation. It works locally on my tomcat, but when I load the project to the ABAP stack I got following message:

Uncaught TypeError: Cannot read property 'opened' of undefined

The error appears when the dialog opened.

Here the part of the source:


  if (!this._dialog) {

  this._dialog = sap.ui.xmlfragment("BusyDialog", this);

  this.getView().addDependent(this._dialog);

  }

  // toggle compact style

  jQuery.sap.syncStyleClass("sapUiSizeCompact", this.getView(),

  this._dialog);

  this._dialog.open(); // HERE THE ERROR appears

Why this works only locally?

Best regards,

Christoph

Accepted Solutions (1)

Accepted Solutions (1)

pfefferf
Active Contributor
0 Kudos

Hi Christoph,

did you check if the UI5 version on the ABAP stack is is greater or equal to the UI5 version you have locally?

Fragments were introduced with version 1.16.2 (the experimental flag was removed with version 1.20).

Regards,

Florian

Answers (0)