This commit is contained in:
2021-08-19 17:05:09 +00:00
parent c344b7e919
commit 4cbc07bc94
3 changed files with 10 additions and 1 deletions

View File

@@ -631,6 +631,7 @@ namespace AyaNova.Biz
var dtRepeat = CalculateNewDateFromSpanAndUnit(dtNow, proposedObj.RepeatUnit, proposedObj.RepeatInterval);
if (!(dtGenBefore < dtRepeat))
{
//NOTE: this is directly tied to v8 migrate so do not change this without changing v8migrate pm export as well
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "GenerateBeforeInterval", await Translate("ErrorGenBeforeTooSmall"));
}