#110829Extension scanner: a file whose scan fails is counted as checked
Description
When the scan request for a single file fails, the backend module counts the file as done and only writes the reason to the browser console. The panel then shows “Checked N of N files” and no hint that a file was not scanned. Its hits, if any, are missing from the result.
Build/Sources/TypeScript/install/module/upgrade/extension-scanner.ts, onrejected of the per-file request: it increments doneFiles, updates the status message and the progress bar and calls console.error(reason).
Affected: 14.3.7 and main.
Steps to reproduce
Currently reproducible with #110828: scan an extension that contains a static first-class callable such as GeneralUtility::underscoredToUpperCamelCase(...). Any other server-side error in the per-file scan action shows the same behaviour.
Expected
The panel marks the file as not scanned and names it, for example “Checked 434 of 435 files, 1 failed”, with the file listed in the result.
Actual
“Checked 435 of 435 files” for an extension where one request answered HTTP 500, no visible error. The failure appears only in the browser console, logged from onrejected.
Reviews 2
Related issues 1
History 26
-
Georg Tiefenbrunn changed Related to #110828 <span data-processor="relativetime" data-value="2026-09-29T07:20:23+00:00" > 09/29/26, 07:20 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 96572 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-09T18:47:36+00:00" > 10/09/26, 18:47 </span> -
Gerrit Code Review pushed patch set 2 for main to change 96572 <span data-processor="relativetime" data-value="2026-10-24T06:26:59+00:00" > 10/24/26, 06:26 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 96572 <span data-processor="relativetime" data-value="2026-11-03T20:06:57+00:00" > 11/03/26, 20:06 </span>
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97779 <span data-processor="relativetime" data-value="2026-11-18T07:54:17+00:00" > 11/18/26, 07:54 </span>
-
Georg Ringer commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-18T08:20:15+00:00" > 11/18/26, 08:20 </span>
Applied in changeset commit:9c54a4261066fafcea927f927af3ef4683ae53d7.