@fluxhub/fluxhub-lib 21.0.12 → 21.0.14

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.
@@ -30256,6 +30256,10 @@ class FHWorkflowView {
30256
30256
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
30257
30257
  arrAutori[i].username = arrAutori[i].idp;
30258
30258
  }
30259
+ // Un attore '*...' la cui variabile non si risolve (o *SYSTEM) resta senza
30260
+ // username: nel picker sarebbe una riga vuota e sceglierlo scriverebbe un
30261
+ // todo con username null (WBA-8).
30262
+ arrAutori = arrAutori.filter((a) => a.username != null && a.username != '');
30259
30263
  setTimeout(() => {
30260
30264
  dialogRef.componentInstance.arrAutori = arrAutori;
30261
30265
  dialogRef.componentInstance.title =
@@ -30288,6 +30292,11 @@ class FHWorkflowView {
30288
30292
  }
30289
30293
  riassegna_richiesta_step2() {
30290
30294
  let a_let = '';
30295
+ // Se la grid non espone oggetto/descrizione nei _FIELDS, sRow.oggetto e'
30296
+ // undefined e INSERT_TODO_GEST fallisce (oggetto NOT NULL).
30297
+ const sRow = this.get_grid().sRow;
30298
+ const oggetto = sRow.oggetto ?? sRow.codice ?? '';
30299
+ const descrizione = sRow.descrizione ?? '';
30291
30300
  let op = [];
30292
30301
  let app_op = new QParam();
30293
30302
  app_op.sql = 'DELETE_TODO_ALL_BYID';
@@ -30320,9 +30329,9 @@ class FHWorkflowView {
30320
30329
  this.id_applicativo,
30321
30330
  this.get_grid().sRow.uiid,
30322
30331
  this.wax[i].username,
30323
- this.get_grid().sRow.oggetto,
30332
+ oggetto,
30324
30333
  this.title,
30325
- this.get_grid().sRow.descrizione,
30334
+ descrizione,
30326
30335
  this.app_s.COMPANY_SITE_ROOT +
30327
30336
  '/#/' +
30328
30337
  this.app_root +