With TMS Web Core V2.6 beta, we have an issue setting an object's value with RTTI. Line 919 of RTTI.pas reads:
Result := TypeInfo.Kind in ConversionAccepted;
but it should actually read
Result := ATypeInfo.Kind in ConversionAccepted;
With TMS Web Core V2.6 beta, we have an issue setting an object's value with RTTI. Line 919 of RTTI.pas reads:
Result := TypeInfo.Kind in ConversionAccepted;
but it should actually read
Result := ATypeInfo.Kind in ConversionAccepted;
You are correct about this issue. We fixed this now. Thanks for reporting.
We just installed TMS Web Core 2.7.2.0 and found that this fix was rolled back.
This fix was actually incorrect. We had to revert it.
The check for TypeInfo needs to be performed against the TValue.TypeInfo itself instead of the ATypeInfo passed as parameter.
Ok. Sorry for that. We now also found the actual bug in our code.