[Lazarus] AutoCommit

Ondrej Pokorny lazarus at kluug.net
Fri Nov 13 20:30:28 CET 2020


Usually we try to use the "default" feature of the newly added 
properties so that they are streamed only when really set and used. When 
they are not used, the LFM can still be loaded in a legacy version of 
Lazarus because the new properties are not streamed.

Ondrej


On 13.11.2020 17:47, Michael Van Canneyt via lazarus wrote:
>
> Yes, but that's always so when properties are added to components.
>
> Michael.
>
> On Fri, 13 Nov 2020, Larry Dalton wrote:
>
>> So we lose some backwards portability?
>>
>> Sent from my iPhone
>>
>>> On Nov 13, 2020, at 11:06, Michael Van Canneyt 
>>> <michael at freepascal.org> wrote:
>>>
>>> 
>>> Your .lfm file contains a property "autocommit" that exists in 
>>> 2.0.10 but not in 2.0.6.
>>> I think 2.0.10 is based on FPC 3.2.0 and 2.0.6 was still based on 
>>> 3.0.4.
>>>
>>> A lot of new properties appeared between 3.0.4 and 3.2.0.
>>>
>>> Michael.
>>>
>>>> On Fri, 13 Nov 2020, Larry Dalton via lazarus wrote:
>>>>
>>>> I forgot to add that it compiles correctly, but then I get the 
>>>> runtime error
>>>> Sent from my iPhone
>>>>
>>>>>> On Nov 13, 2020, at 11:02, Larry Dalton <larrydalton71 at gmail.com> 
>>>>>> wrote:
>>>>> This is only when I try to compile on Lazarus 2.0.6 on Windows. 
>>>>> The project works fine on 2.0.10 on Linux. Any ideas?
>>>>> Sent from my iPhone
>>>>>> On Nov 13, 2020, at 10:58, Larry Dalton <larrydalton71 at gmail.com> 
>>>>>> wrote:
>>>>>> Error code “Project ****** raised exception class ‘EReadError 
>>>>>> with unknown property ‘AutoCommit’
>>>>>> Sent from my iPhone
>>>> -- 
>>>> _______________________________________________
>>>> lazarus mailing list
>>>> lazarus at lists.lazarus-ide.org
>>>> https://lists.lazarus-ide.org/listinfo/lazarus
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20201113/bdb91806/attachment.html>


More information about the lazarus mailing list