@fluxhub/fluxhub-lib 18.0.44 → 18.0.46

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.
@@ -42377,6 +42377,10 @@ class wkfapp_v2 {
42377
42377
  if (arrAutori[i].idp != null && arrAutori[i].username == null)
42378
42378
  arrAutori[i].username = arrAutori[i].idp;
42379
42379
  }
42380
+ // Un attore '*...' la cui variabile non si risolve (o *SYSTEM) resta senza
42381
+ // username: nel picker sarebbe una riga vuota e sceglierlo scriverebbe un
42382
+ // todo con username null (WBA-8).
42383
+ arrAutori = arrAutori.filter((a) => a.username != null && a.username != '');
42380
42384
  setTimeout(() => {
42381
42385
  dialogRef.componentInstance.arrAutori = arrAutori;
42382
42386
  dialogRef.componentInstance.title =
@@ -42409,6 +42413,11 @@ class wkfapp_v2 {
42409
42413
  }
42410
42414
  riassegna_richiesta_step2() {
42411
42415
  let a_let = '';
42416
+ // Se la grid non espone oggetto/descrizione nei _FIELDS, sRow.oggetto e'
42417
+ // undefined e INSERT_TODO_GEST fallisce (oggetto NOT NULL).
42418
+ const sRow = this.get_grid().sRow;
42419
+ const oggetto = sRow.oggetto ?? sRow.codice ?? '';
42420
+ const descrizione = sRow.descrizione ?? '';
42412
42421
  let op = [];
42413
42422
  let app_op = new QParam();
42414
42423
  app_op.sql = 'DELETE_TODO_ALL_BYID';
@@ -42442,9 +42451,9 @@ class wkfapp_v2 {
42442
42451
  this.id_applicativo,
42443
42452
  this.get_grid().sRow.uiid,
42444
42453
  this.wax[i].username,
42445
- this.get_grid().sRow.oggetto,
42454
+ oggetto,
42446
42455
  this.title,
42447
- this.get_grid().sRow.descrizione,
42456
+ descrizione,
42448
42457
  this.app_s.COMPANY_SITE_ROOT +
42449
42458
  '/#/' +
42450
42459
  this.app_root +