@fluxhub/fluxhub-lib 19.0.261 → 19.0.263

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.
@@ -4856,7 +4856,9 @@ class FHUploadComponent {
4856
4856
  if (event.type === HttpEventType.UploadProgress && event.total) {
4857
4857
  const progress = Math.round(100 * event.loaded / event.total);
4858
4858
  if (this.dialogRef?.componentInstance) {
4859
- this.dialogRef?.componentInstance?.update_progess(progress);
4859
+ // 100 chiude l'attesa: si arriva a 100 solo con la risposta del server (il programma
4860
+ // post-upload, es. rename_attachment, puo' ancora rinominare o spostare il file)
4861
+ this.dialogRef?.componentInstance?.update_progess(Math.min(progress, 99));
4860
4862
  }
4861
4863
  }
4862
4864
  else if (event.type === HttpEventType.Response) {
@@ -29928,7 +29930,12 @@ class FHWorkflowView {
29928
29930
  p = new QParam();
29929
29931
  p.sql = 'UPDATE_RIASSEGNA_TODO';
29930
29932
  p.types = ['string', 'string'];
29931
- p.values = [this.wax[0].idp, this.get_grid().sRow.uiid];
29933
+ // Gli attori del picker portano sempre username (idp solo se vengono dai livelli):
29934
+ // con idp null la sottoquery dava username null sul todo (WBA-10).
29935
+ p.values = [
29936
+ this.wax[0].username || this.wax[0].idp,
29937
+ this.get_grid().sRow.uiid,
29938
+ ];
29932
29939
  ok_op = false;
29933
29940
  this.m_dataService.doQuery(p).subscribe((data) => {
29934
29941
  if (data != null)