This commit is contained in:
2020-12-10 18:58:31 +00:00
parent 0a22682239
commit 379673981f
7 changed files with 7 additions and 7 deletions

2
.vscode/launch.json vendored
View File

@@ -53,7 +53,7 @@
"AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles", "AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles",
"AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles", "AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles",
"AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles", "AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles",
"AYANOVA_SERVER_TEST_MODE": "false", "AYANOVA_SERVER_TEST_MODE": "true",
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small", "AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7", "AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\" "AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\"

View File

@@ -215,7 +215,7 @@ namespace AyaNova.Api.Controllers
if (dataListSelection.SelectedRowIds.Length == 0) if (dataListSelection.SelectedRowIds.Length == 0)
return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, null, "List of ids")); return BadRequest(new ApiErrorResponse(ApiErrorCode.VALIDATION_REQUIRED, null, "List of ids"));
var JobName = $"LT:BatchDeleteJob - LT:{dataListSelection.ObjectType} ({dataListSelection.SelectedRowIds.LongLength})"; var JobName = $"LT:BatchDeleteJob - LT:{dataListSelection.ObjectType} ({dataListSelection.SelectedRowIds.LongLength}) LT:User {UserNameFromContext.Name(HttpContext.Items)}";
JObject o = JObject.FromObject(new JObject o = JObject.FromObject(new
{ {
idList = dataListSelection.SelectedRowIds idList = dataListSelection.SelectedRowIds

View File

@@ -287,7 +287,7 @@ namespace AyaNova.Biz
var JobDescription = $"{job.Name} - {job.JobType.ToString()}"; var JobDescription = $"{job.Name} - {job.JobType.ToString()}";
if (job.SubType != JobSubType.NotSet) if (job.SubType != JobSubType.NotSet)
JobDescription += $":{job.SubType}"; JobDescription += $":{job.SubType}";
await LogJobAsync(job.GId, $"Processing job \"{JobDescription}\""); await LogJobAsync(job.GId, $"LT:ProcessingJob \"{JobDescription}\"");
log.LogDebug($"ProcessJobAsync -> Processing job {JobDescription}"); log.LogDebug($"ProcessJobAsync -> Processing job {JobDescription}");
IJobObject o = null; IJobObject o = null;
using (AyContext ct = ServiceProviderProvider.DBContext) using (AyContext ct = ServiceProviderProvider.DBContext)

View File

@@ -1964,5 +1964,5 @@
"BatchDeleteJob": "Batch-Löschauftrag", "BatchDeleteJob": "Batch-Löschauftrag",
"BatchJob": "Batch-Job", "BatchJob": "Batch-Job",
"Failed": "Fehlgeschlagen", "Failed": "Fehlgeschlagen",
"Processing job": "Serverjob verarbeiten" "ProcessingJob": "Serverjob verarbeiten"
} }

View File

@@ -1964,5 +1964,5 @@
"BatchDeleteJob": "Batch delete job", "BatchDeleteJob": "Batch delete job",
"BatchJob": "Batch job", "BatchJob": "Batch job",
"Failed": "Failed", "Failed": "Failed",
"Processing job": "Processing job" "ProcessingJob": "Processing server job"
} }

View File

@@ -1964,5 +1964,5 @@
"BatchDeleteJob": "Trabajo de eliminación por lotes", "BatchDeleteJob": "Trabajo de eliminación por lotes",
"BatchJob": "Trabajo por lotes", "BatchJob": "Trabajo por lotes",
"Failed": "Fallido", "Failed": "Fallido",
"Processing job": "Procesando trabajo del servidor" "ProcessingJob": "Procesando trabajo del servidor"
} }

View File

@@ -1964,5 +1964,5 @@
"BatchDeleteJob": "Tâche de suppression par lots", "BatchDeleteJob": "Tâche de suppression par lots",
"BatchJob": "Travail par lots", "BatchJob": "Travail par lots",
"Failed": "Échec", "Failed": "Échec",
"Processing job": "Traitement du travail du serveur" "ProcessingJob": "Traitement du travail du serveur"
} }