This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user