Error in TCustomVirtualDataSet.GetFieldData

Issue #221 closed
Jacek Laskowski created an issue

I have field with 36 chars string (UUID):

'FB5A930F-3D3C-4395-B4AC-81CA639E490C'

but ObjectDataset changed this value to:

'FB5A930F-3D3C-4395-B4AC-81CA639E490C:' <--- colon on end

See screenshots from debug session:

Ashampoo_Snap_2017.01.24_09h41m08s_001_.png

Ashampoo_Snap_2017.01.24_09h42m59s_002_.png

Ashampoo_Snap_2017.01.24_09h47m03s_003_.png

Comments (6)

  1. Stefan Glienke repo owner

    I cannot do much with the information you provide - what type is the property on your object? If it is string it should map to TWideStringField and not TStringField, If its a TGUID it should map to a TGuidField that also displays the curly brackets.

  2. Jacek Laskowski reporter

    Property type string:

       property UUID: string read GetUUID write SetUUID;
    

    But from the time when I reported the problem code has already changed several times and the problem ...disappear. Now, I can't reproduce the issue :-/ I think that it could be due to some hidden out of bounds field memory.

    ps. my UUID data is not full GUID, this only internal part, without curly brackets.

  3. Log in to comment