Error TMVCAbstractSerializer invalid type cast in linux build
anlopes123 opened this issue · comments
I'm compiling a project in ubuntu linux and the error that I put in the title on the line below:
LogD ('Registering TypeSerializer for:' + string (ATypeInfo.Name))
I did the correction as per the code below
procedure TMVCAbstractSerializer.RegisterTypeSerializer(const ATypeInfo: PTypeInfo; AInstance: IMVCTypeSerializer);
begin
{$IFNDEF AUTOREFCOUNT}
LogD('Registering TypeSerializer for: ' + string(ATypeInfo.Name));
{$ELSE}
LogD('Registering TypeSerializer for: ' + ATypeInfo.Name.ToString);
{$ENDIF}
FTypeSerializers.AddOrSetValue(ATypeInfo, AInstance);
end;
Do you have any version started to complement in apache linux?
DMVCFramework works on linux (ad console, daemon and apache module) since 3.x
Are you talking about this issue? Any others?
I am testing a version delphimvcframework-3.1.1-beryllium-RC2 and giving the following error:
[DCC Error] MVCFramework.Serializer.JsonDataObjects.pas(1088): E2010 Incompatible types: 'string' and 'Byte'
Please, use the last version when report issue please.