Fix #15: Log-Eintrag am Laufende liest lokale Zähler statt RunSummary

Synthetisierte Fehlzeilen (fehlende Quelldatei) werden nur im lokalen
failedCount gezählt, nicht in RunSummary. Der abschließende Log-Eintrag
verwendete bisher summary.failedCount() und zeigte daher fehlgeschlagen=0
obwohl die GUI-Anzeige korrekt war.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-23 17:25:00 +02:00
parent c46294159c
commit e7f5590934
@@ -982,10 +982,12 @@ public final class GuiBatchRunTab {
appendSummary(outcome);
updateButtonStates();
notifyRunStateChanged();
// Lokale Zähler verwenden, nicht RunSummary synthetisierte Fehlzeilen
// (fehlende Quelldatei) sind nur im lokalen failedCount erfasst.
LOG.info("GUI-Verarbeitungslauf: Lauf beendet. successfullyStarted={}, completed={}, "
+ "erfolgreich={}, fehlgeschlagen={}, übersprungen={}.",
outcome.successfullyStarted(), outcome.batchCompletedNormally(),
summary.successCount(), summary.failedCount(), summary.skippedCount());
successCount, failedCount, skippedCount);
}
/**