case 4357

This commit is contained in:
2022-12-20 22:11:12 +00:00
parent b3bfa718d3
commit f3615b0f5f
3 changed files with 90 additions and 75 deletions

View File

@@ -8,6 +8,13 @@ See the [upgrade instructions](ops-upgrade.md) section of this manual for detail
## 2022
### AyaNova 8.0.29 (2022-12-20)
#### Fixed
- UI: Part inventory data table was incorrectly showing the Delete and Tag extension when it should only show the export extension
- Server: fixed a bug that could cause a server crash attempting to process mass delete extension on unsupport object types
### AyaNova 8.0.28 (2022-12-14)
#### Fixed

View File

@@ -7,7 +7,7 @@ theme:
site_name: AyaNova manual
site_dir: '../../../server/AyaNova/wwwroot/docs'
strict: true
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-12-14
copyright: Copyright © 2022 Ground Zero Tech-Works Inc. REV-2022-12-20
extra:
generator: false
# Extensions

View File

@@ -374,12 +374,14 @@ namespace AyaNova.Biz
/// <returns></returns>
internal static async Task ProcessJobAsync(OpsJob job)
{
var JobDescription = $"{job.Name} - {job.JobType.ToString()}";
if (job.SubType != JobSubType.NotSet)
JobDescription += $":{job.SubType}";
await LogJobAsync(job.GId, $"LT:ProcessingJob \"{JobDescription}\"");
log.LogDebug($"ProcessJobAsync -> Processing job {JobDescription}");
IJobObject o = null;
try{
using (AyContext ct = ServiceProviderProvider.DBContext)
{
switch (job.JobType)
@@ -421,6 +423,12 @@ namespace AyaNova.Biz
}
log.LogDebug($"ProcessJobAsync -> Job completed {JobDescription}");
}
catch(Exception ex){
await LogJobAsync(job.GId, $"LT:BatchJob \"{JobDescription}\" - LT:Failed ");
log.LogError(ex,$"ProcessJobAsync -> job failed {JobDescription}");
await JobsBiz.UpdateJobStatusAsync(job.GId, JobStatus.Failed);
}
}
#endregion process jobs