This commit is contained in:
@@ -251,7 +251,7 @@ namespace AyaNova.Biz
|
||||
private async Task ValidateAsync(HeadOffice proposedObj, HeadOffice currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING) return;
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
|
||||
@@ -472,7 +472,7 @@ namespace AyaNova.Biz
|
||||
public async Task HandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<HeadOfficeBiz>();
|
||||
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