#1 2024-10-04 17:13:48

Márcio Baroni
Member
From: Brasil
Registered: 2015-10-07
Posts: 34

Error commit "rtti: explicit size limitation of sets up to ENUM_MAX"

ab, after this commit https://github.com/synopse/mORMot2/comm … 41536310ee

  if Cache.Size = 0 then
    if Kind = rkSet then // mormot.core.rtti/json hardcore getter/setter limit
      ERttiException.RaiseUtf8('ComputeCache(%): sets are limited to % items',
        [RawName, ENUM_MAX])
    else
      ERttiException.RaiseUtf8('ComputeCache(%): has RttiSize=0', [RawName]);

I get the error:

raised exception class ERttiException with message 'ComputeCache(TNotifyEvent): has RttiSize=0'
raised exception class ERttiException with message 'ComputeCache(TOnRestServerCallBack): has RttiSize=0'

Delphi 10.3 Windows 11

Offline

#2 2024-10-04 17:54:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,725
Website

Re: Error commit "rtti: explicit size limitation of sets up to ENUM_MAX"

Offline

#3 2024-10-04 21:00:24

Márcio Baroni
Member
From: Brasil
Registered: 2015-10-07
Posts: 34

Re: Error commit "rtti: explicit size limitation of sets up to ENUM_MAX"

Thanks

Offline

Board footer

Powered by FluxBB