BusinessBase<T> Incorrect error message

BusinessBase<T> Incorrect error message

Old forum URL: forums.lhotka.net/forums/t/7211.aspx


carney posted on Wednesday, July 01, 2009

BusinessBase<T>.BeginSave(bool forceUpdate, EventHandler<SavedEventArgs> handler, object userState)

The following block of code should use Resources.NoSaveInvalidException

else if (!IsValid && !IsDeleted)
{
   Validation.
ValidationException error = new Validation.ValidationException(Resources
.NoSaveEditingException);
   OnSaved(
null
, error, userState);
   if (handler != null
)
      handler(
this, new SavedEventArgs(null
, error, userState));
}

ajj3085 replied on Thursday, July 02, 2009

What version is this? I believe this was fixed in the latest 3.6 release.

carney replied on Thursday, July 02, 2009

It is fixed in 3.6.3. I am still in 3.6.2. Thanks.

Copyright (c) Marimer LLC