Skip to content

Commit

Permalink
Do not check expected type, since model compatibility is now ensured …
Browse files Browse the repository at this point in the history
…by OSS service. #20
  • Loading branch information
bero committed Dec 7, 2024
1 parent 80424c8 commit c3780ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/BoldExternalObjectSpaceEventHandler.pas
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,8 @@ procedure TBoldExternalObjectSpaceEventHandler.NonEmbeddedStateOfObjectChanged(
CurrObj := GetObjectByID(AObjectID);
if Assigned(CurrObj) then
begin
if CurrObj.BoldClassTypeInfo.ExpressionName <> AClassName then
raise EOSS.CreateFmt('Object %s is %s, but expected type is %s.', [AObjectID.AsString, CurrObj.BoldClassTypeInfo.ExpressionName, AClassName]);
// if CurrObj.BoldClassTypeInfo.ExpressionName <> AClassName then
// raise EOSS.CreateFmt('Object %s is %s, but expected type is %s.', [AObjectID.AsString, CurrObj.BoldClassTypeInfo.ExpressionName, AClassName]);
i := CurrObj.BoldMemberIndexByExpressionName[AMemberName];
if i = -1 then
raise EOSS.CreateFmt('Class %s does not have a member "%s", check OSS settings of other clients.', [CurrObj.DisplayName, AMemberName]);
Expand Down

0 comments on commit c3780ad

Please sign in to comment.