@esfaenza/core 20.3.45 → 20.3.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1085,6 +1085,8 @@ class JaceResourceComponent {
1085
1085
  this.sanitizedSourceResource = null;
1086
1086
  }
1087
1087
  let moduleUrl = myconfig.AuthUrl.includes("localhost") ? `http://localhost:${this.Localhost}` : module.uiurl;
1088
+ if (!moduleUrl)
1089
+ throw `Impossibile trovare l'URL del modulo ${this.Module}. I moduli disponibili sono: ${modules.map(t => t.idmodule + '|' + t.altname).join(', ')}`;
1088
1090
  let parameters = this.Params ? Object.keys(this.Params).map(k => `${k}=${this.Params[k]}`).join(';') : '';
1089
1091
  // ATTENZIONE: L'embedding a due livelli si potrebbe rompere qui, ma chi cazzo embedda a due livelli....
1090
1092
  let finalUrl = `${moduleUrl}/#/pages_ext/${myconfig.AppData.ModuleId}/${this.Page}${(parameters ? (';' + parameters) : '')}`;