Discussion:
[Lazarus] Boolean component Properties saved in *.lfm
Landmesser John via Lazarus
2018-05-03 08:10:04 UTC
Permalink
i think thats not correct:

set these AutoEncodeStrings settings


save and restart Lazarus, reopen the project:


AutoEncodeStrings is now false, despite the settings in
ZConnection1.Properties to the right.


... and Strings like "BÃŒdingen" are displayed wrong!


Should i write an extra bug-report?
Landmesser John via Lazarus
2018-05-03 08:31:16 UTC
Permalink
see bug-report:

0033682
Post by Landmesser John via Lazarus
set these AutoEncodeStrings settings
AutoEncodeStrings is now false, despite the settings in
ZConnection1.Properties to the right.
... and Strings like "BÃŒdingen" are displayed wrong!
Ondrej Pokorny via Lazarus
2018-05-03 08:35:02 UTC
Permalink
Post by Landmesser John via Lazarus
set these AutoEncodeStrings settings
save and restart Lazarus, reopen the project:AutoEncodeStrings is now
false, despite the settings in ZConnection1.Properties to the right.
... and Strings like "Büdingen" are displayed wrong!
Should i write an extra bug-report?
TZConnection is not a part of Lazarus/LCL. So you should first
investigate if the problem is in ZEOS.

If you don't think the bug is in ZEOS, the bug will be in FPC because
component streaming is part of FPC. In this case, download trunk FPC
(over SVN), build Lazarus with it and test  - if the bug still persists,
create a simple test case program without any dependencies and create a
bug report for FPC project in mantis.

Ondrej
--
Ondrej Pokorny via Lazarus
2018-05-03 08:39:51 UTC
Permalink
Post by Ondrej Pokorny via Lazarus
Post by Landmesser John via Lazarus
set these AutoEncodeStrings settings
save and restart Lazarus, reopen the project:AutoEncodeStrings is now
false, despite the settings in ZConnection1.Properties to the right.
... and Strings like "Büdingen" are displayed wrong!
Should i write an extra bug-report?
TZConnection is not a part of Lazarus/LCL. So you should first
investigate if the problem is in ZEOS.
If you don't think the bug is in ZEOS, the bug will be in FPC because
component streaming is part of FPC. In this case, download trunk FPC
(over SVN), build Lazarus with it and test  - if the bug still
persists, create a simple test case program without any dependencies
and create a bug report for FPC project in mantis.
BTW, you could be hit by one of these already reported bugs:

https://bugs.freepascal.org/view.php?id=33563
https://bugs.freepascal.org/view.php?id=33564
https://bugs.freepascal.org/view.php?id=33035

Ondrej
--
Landmesser John via Lazarus
2018-05-03 13:24:51 UTC
Permalink
Hi Ondrej,

compiled with

Lazarus 1.9.0 r57768M FPC 3.1.1 i386-win32-win32/win64

issue still exists, so i put a message to ZeosLib-Forum.

Issue is fixed if you open ZConnection.Properties once, so must be
simple to fix?!

Wait and see :-)

btw:

What tells us the M in r57768M ??
Post by Ondrej Pokorny via Lazarus
Post by Landmesser John via Lazarus
set these AutoEncodeStrings settings
save and restart Lazarus, reopen the project:AutoEncodeStrings is now
false, despite the settings in ZConnection1.Properties to the right.
... and Strings like "Büdingen" are displayed wrong!
Should i write an extra bug-report?
TZConnection is not a part of Lazarus/LCL. So you should first
investigate if the problem is in ZEOS.
If you don't think the bug is in ZEOS, the bug will be in FPC because
component streaming is part of FPC. In this case, download trunk FPC
(over SVN), build Lazarus with it and test  - if the bug still
persists, create a simple test case program without any dependencies
and create a bug report for FPC project in mantis.
Ondrej
--
Luca Olivetti via Lazarus
2018-05-03 13:33:05 UTC
Permalink
Post by Landmesser John via Lazarus
issue still exists, so i put a message to ZeosLib-Forum.
In the version of zeos I have (7.1.4), the property AutoEncodeStrings is
marked as "default True", however the constructor doesn't set the
underlying field to true, hence the bug is in the zeos library.
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
--
Mattias Gaertner via Lazarus
2018-05-03 13:47:51 UTC
Permalink
On Thu, 3 May 2018 15:24:51 +0200
Post by Landmesser John via Lazarus
[...]
What tells us the M in r57768M ??
That you have local modifications.

Mattias
--

Mattias Gaertner via Lazarus
2018-05-03 08:41:07 UTC
Permalink
On Thu, 3 May 2018 10:10:04 +0200
Post by Landmesser John via Lazarus
set these AutoEncodeStrings settings
AutoEncodeStrings is now false, despite the settings in
ZConnection1.Properties to the right.
... and Strings like "Büdingen" are displayed wrong!
Should i write an extra bug-report?
Keep in mind that ZeosDBO is not maintained by the Lazarus team.

http://wiki.freepascal.org/ZeosDBO

Mattias
--
Loading...