Fix: queue single document zone OCR runs instead of running them in the request

Rendering and OCR ran inside the HTTP request and could block other
requests for minutes. The action now validates, then queues the bulk
zone OCR operation for the selected file and returns its task id.
This commit is contained in:
stumpylog committed 2026-11-19 15:25:48 -08:00
1 parent a6b81b2d64
commit c5fdba73a1
11 files changed
+379 -483

No files matched your search

+3 -1
View File
@@ -898,7 +898,9 @@ details page:
instead. A template you choose runs even if it does not match the document or is disabled.
Both actions use the file version selected in document details. The latest version is selected by default.
Extracted values update the document's metadata, which is shared across its versions.
Extracted values update the document's metadata, which is shared across its versions. If no template
applies to the document, nothing is run. Otherwise the run is processed in the background and appears in the
task list. The document shows the extracted values once the task finishes.
The bulk editor's **Run Zone OCR** action opens the same dialog for the selected documents. Bulk runs use
the latest version of each document and are processed in the background.