#1 2019-11-12 20:38:01

Vitaly
Member
From: UAE
Registered: 2017-01-31
Posts: 168
Website

A problem with new 'optimized IdemPropNameUSameLen()'

I'm using TIntegerDynArray in one class. After pulling fresh mORMot I began to get such an error at the stage of the application initialization:

Project PReg_BatchLoad.exe raised exception class ESynException with message 'Unregistered ptCustom for TJSONRecordTextDefinition.AddItem(Line: TINTEGERDYNARRAY)'.

I tried other mORMot versions and noticed that this abnormal behavior appeared exactly in 0b4f8c6 commit (2019-11-12): 'optimized IdemPropNameUSameLen()'.

Is it a bug or some breaking change or I should look deeper in my code?

Win64, Delphi 10.3.2

Offline

#2 2019-11-13 13:18:00

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

Re: A problem with new 'optimized IdemPropNameUSameLen()'

Yes, I just fixed it.

Sorry for the issue!
smile

Offline

#3 2019-11-13 14:08:14

Vitaly
Member
From: UAE
Registered: 2017-01-31
Posts: 168
Website

Re: A problem with new 'optimized IdemPropNameUSameLen()'

It's working smoothly now, thanks! wink

Offline

Board footer

Powered by FluxBB