This commit is contained in:
2021-08-16 23:18:37 +00:00
parent 023dfa5ab6
commit b827ec1285
32 changed files with 122 additions and 105 deletions

View File

@@ -268,7 +268,7 @@ namespace AyaNova.Biz
private async Task ValidateAsync(Customer proposedObj, Customer currentObj)
{
//skip validation if seeding
if (ServerBootConfig.SEEDING) return;
if(ServerBootConfig.SEEDING) return;
bool isNew = currentObj == null;
@@ -525,7 +525,7 @@ namespace AyaNova.Biz
public async Task HandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
{
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<CustomerBiz>();
if (ServerBootConfig.SEEDING) return;
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{this.BizType}, AyaEvent:{ayaEvent}]");
bool isNew = currentObj == null;