@fluxhub/fluxhub-lib 22.0.34 → 22.0.37
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.
|
@@ -211,6 +211,13 @@ const FH_MONITORING_IGNORE_ERRORS = [
|
|
|
211
211
|
// 401 = sessione scaduta: entrambi gia' gestiti dall'interceptor della libreria.
|
|
212
212
|
/Http failure response for .*: 0 /,
|
|
213
213
|
/Http failure response for .*: 401 /,
|
|
214
|
+
// visualizzatori di immagini (ngx-image-viewer): uscita dallo schermo intero quando il
|
|
215
|
+
// browser ne e' gia' uscito (Esc, cambio scheda); innocuo, WBA-13
|
|
216
|
+
/exitFullscreen.*Document not active/,
|
|
217
|
+
// stesso componente: richiesta di schermo intero rifiutata dal browser (RAYTEC-57) e riposizionamento
|
|
218
|
+
// del contenitore al cambio di schermo intero (FMT-68); innocui
|
|
219
|
+
/^(TypeError: )?not granted$/,
|
|
220
|
+
/appendChild.*new child element contains the parent/,
|
|
214
221
|
];
|
|
215
222
|
/** Scarta un evento gia' segnalato o non azionabile; raggruppa i backend non raggiungibili. */
|
|
216
223
|
function fhMonitoringBeforeSend(event, hint) {
|
|
@@ -19673,8 +19680,20 @@ class FHWinShowEmail {
|
|
|
19673
19680
|
fs.p1 = 'Email_Reader';
|
|
19674
19681
|
fs.p2 = data.App + '|' + data.K + '|' + data.Filename;
|
|
19675
19682
|
this._fileservice.doQuery(fs).subscribe((data) => {
|
|
19676
|
-
|
|
19677
|
-
|
|
19683
|
+
// utility in errore (output non JSON, es. "Unhandled exception"): niente anteprima
|
|
19684
|
+
let obj = null;
|
|
19685
|
+
try {
|
|
19686
|
+
obj = JSON.parse(data?.msg);
|
|
19687
|
+
}
|
|
19688
|
+
catch {
|
|
19689
|
+
obj = null;
|
|
19690
|
+
}
|
|
19691
|
+
if (!obj) {
|
|
19692
|
+
this.title = 'ANTEPRIMA EMAIL NON DISPONIBILE';
|
|
19693
|
+
return;
|
|
19694
|
+
}
|
|
19695
|
+
this.email_obj = obj;
|
|
19696
|
+
this.allegati = obj.allegati ? obj.allegati.split('||') : [];
|
|
19678
19697
|
});
|
|
19679
19698
|
this.updateButtons();
|
|
19680
19699
|
}
|
|
@@ -22133,8 +22152,20 @@ class FHWinShowEmailS3 {
|
|
|
22133
22152
|
fs.p1 = 'Email_Reader_S3';
|
|
22134
22153
|
fs.p2 = data.local_dir + '|' + data.uiid;
|
|
22135
22154
|
this._fileservice.doQuery(fs).subscribe((data) => {
|
|
22136
|
-
|
|
22137
|
-
|
|
22155
|
+
// utility in errore (output non JSON, es. "Unhandled exception"): niente anteprima
|
|
22156
|
+
let obj = null;
|
|
22157
|
+
try {
|
|
22158
|
+
obj = JSON.parse(data?.msg);
|
|
22159
|
+
}
|
|
22160
|
+
catch {
|
|
22161
|
+
obj = null;
|
|
22162
|
+
}
|
|
22163
|
+
if (!obj) {
|
|
22164
|
+
this.title = 'ANTEPRIMA EMAIL NON DISPONIBILE';
|
|
22165
|
+
return;
|
|
22166
|
+
}
|
|
22167
|
+
this.email_obj = obj;
|
|
22168
|
+
this.allegati = obj.allegati ? obj.allegati.split('||') : [];
|
|
22138
22169
|
});
|
|
22139
22170
|
this.updateButtons();
|
|
22140
22171
|
}
|
|
@@ -22370,11 +22401,12 @@ class FHUploadPanelS3Component {
|
|
|
22370
22401
|
this.fileService.doQuery(p).subscribe((data) => {
|
|
22371
22402
|
if (data != null)
|
|
22372
22403
|
if (data.result_msg == 'OK') {
|
|
22373
|
-
|
|
22374
|
-
|
|
22404
|
+
// KO dell'utility ("KO <motivo>", senza |) o nessun output: niente str_mg[1], si mostra il motivo
|
|
22405
|
+
let str_mg = String(data.msg ?? '').split('|');
|
|
22406
|
+
if (str_mg[0] == 'OK' && str_mg[1])
|
|
22375
22407
|
window.open(this.uti.urlEncode(str_mg[1]));
|
|
22376
22408
|
else
|
|
22377
|
-
this.toastr.error(str_mg
|
|
22409
|
+
this.toastr.error(str_mg.slice(1).join(' -> ') || str_mg[0] || 'Download non riuscito');
|
|
22378
22410
|
}
|
|
22379
22411
|
});
|
|
22380
22412
|
}
|
|
@@ -30569,6 +30601,8 @@ class win_assegna_a {
|
|
|
30569
30601
|
}
|
|
30570
30602
|
let o = new Object();
|
|
30571
30603
|
o.nota = this.nota;
|
|
30604
|
+
// prendi in carico da un utente che non e' tra gli assegnati: nessun utente, non undefined
|
|
30605
|
+
o.arrsel = [];
|
|
30572
30606
|
if (this.op == 'A' && this.up)
|
|
30573
30607
|
o.arrsel = this.up.getSelArr();
|
|
30574
30608
|
else if (this.op == 'L')
|
|
@@ -37519,7 +37553,7 @@ class FHWorkflowForm {
|
|
|
37519
37553
|
}
|
|
37520
37554
|
open_info() {
|
|
37521
37555
|
this.s_uto = '';
|
|
37522
|
-
let aut = this.m_obj.autori.split(',');
|
|
37556
|
+
let aut = (this.m_obj.autori ?? '').split(',');
|
|
37523
37557
|
for (let i = 0; i < aut.length; i++)
|
|
37524
37558
|
for (let y = 0; y < this.livs.length; y++)
|
|
37525
37559
|
if (this.livs[y].idp == aut[i]) {
|