fix: add Stato empty warning log and fix y-increment when Categoria is empty
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,9 +73,9 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer
|
||||
PdfTheme.BoxLightBlueBgBrush, PdfTheme.AccentBlueBrush,
|
||||
PdfTheme.AccentBlueBrush, PdfTheme.AccentBlueDarkBrush,
|
||||
PdfTheme.Bold);
|
||||
y += boxH + 10f;
|
||||
}
|
||||
|
||||
y += boxH + 10f;
|
||||
return y;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,6 +71,9 @@ public class ReportOrchestrator : IReportOrchestrator
|
||||
|
||||
var cacheKey = isExpired ? expiredCacheKey : baseCacheKey;
|
||||
|
||||
if (string.IsNullOrEmpty(reportData.Info.Stato))
|
||||
_logger.LogWarning("Campo Stato assente per ISIN {Isin}: utilizzo flusso standard", isin);
|
||||
|
||||
_logger.LogInformation(
|
||||
"Dati recuperati per {Isin}: Stato={Stato}, isExpired={IsExpired}, {EventiCount} eventi",
|
||||
isin, reportData.Info.Stato, isExpired, reportData.Eventi.Count);
|
||||
|
||||
Reference in New Issue
Block a user