You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Redmine Bug #1807
When the ClassDefValidator is called it sets the ClassDef property to null on all PropDefs.
This is as a result of being added to a Propdefcol that has no ClassDef.
The bug can be replicated through the following test:
[Test]
public void Test_ValidateClassDefs()
{
//---------------Set up test pack-------------------
ClassDef.ClassDefs.Add(StargateAppServerClassDefBroker.GetClassDefs());
//---------------Assert Precondition----------------
Assert.Greater(ClassDef.ClassDefs.Count, 0);
Assert.IsNotNull(ClassDef.Get<MyBO>().GetPropDef("TextProp").ClassDef);
//---------------Execute Test ----------------------
var validator = new ClassDefValidator(new DefClassFactory());
validator.ValidateClassDefs(ClassDef.ClassDefs);
Assert.IsNotNull(ClassDef.Get<MyBO>().GetPropDef("TextProp").ClassDef);
}
This is related to issue #1806 on redmine
The text was updated successfully, but these errors were encountered:
Redmine Bug #1807
When the ClassDefValidator is called it sets the ClassDef property to null on all PropDefs.
This is as a result of being added to a Propdefcol that has no ClassDef.
The bug can be replicated through the following test:
This is related to issue #1806 on redmine
The text was updated successfully, but these errors were encountered: