- Fixed Error where Catalog Types other than default could not be added
- Fixed error in TRAICIE_KO_INTERVIEW_DEFINITION_SPECIALIST - Minor improvements
This commit is contained in:
@@ -392,7 +392,7 @@ def add_document():
|
||||
|
||||
flash(f'Processing on document {new_doc.name}, version {new_doc_vers.id} started. Task ID: {task_id}.',
|
||||
'success')
|
||||
return redirect(prefixed_url_for('document_bp.documents'))
|
||||
return redirect(prefixed_url_for('document_bp.documents_processing'))
|
||||
|
||||
except EveAIException as e:
|
||||
flash(str(e), 'error')
|
||||
@@ -451,7 +451,7 @@ def add_url():
|
||||
|
||||
flash(f'Processing on document {new_doc.name}, version {new_doc_vers.id} started. Task ID: {task_id}.',
|
||||
'success')
|
||||
return redirect(prefixed_url_for('document_bp.documents'))
|
||||
return redirect(prefixed_url_for('document_bp.documents_processing'))
|
||||
|
||||
except EveAIException as e:
|
||||
current_app.logger.error(f"Error adding document: {str(e)}")
|
||||
|
||||
Reference in New Issue
Block a user