harden code and ingester

This commit is contained in:
team 1
2026-02-12 14:31:29 +01:00
parent 5a52e07edc
commit 994f582f35
8 changed files with 77 additions and 496 deletions

View File

@@ -107,7 +107,7 @@
<td>
{% if version.isActive %}
{% if version.ingestStatus != constant('App\\Entity\\DocumentVersion::INGEST_RUNNING') %}
{% if version.ingestStatus in ['PENDING', 'FAILED'] %}
<form method="post"
action="{{ path('admin_document_version_ingest', {versionId: version.id}) }}"
@@ -119,7 +119,7 @@
</form>
{% else %}
<span class="text-warning">Läuft...</span>
<span class="text-success">Ingested</span>
{% endif %}
{% else %}