Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-05

Boolean component Properties saved in *.lfm

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Landmesser John

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/aa61f35c/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: nnhnpbjcpiomaoda.png
Type: image/png
Size: 10428 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/aa61f35c/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: diaadlhamjegfpii.png
Type: image/png
Size: 11060 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/aa61f35c/attachment-0003.png>

Reply by email

Landmesser John
to Landmesser John

see bug-report:

0033682

Landmesser John wrote 15 lines
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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/8d056d36/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: nnhnpbjcpiomaoda.png
Type: image/png
Size: 10428 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/8d056d36/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: diaadlhamjegfpii.png
Type: image/png
Size: 11060 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180503/8d056d36/attachment-0003.png>

Reply by email

Ondrej Pokorny
to Landmesser John: i think thats not correct: set these AutoEncodeStrings settings save and restart Lazarus,…
Landmesser John wrote 12 lines
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?

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

Reply by email

Ondrej Pokorny
to Ondrej Pokorny
Ondrej Pokorny wrote 22 lines
On 03.05.2018 10:10, Landmesser John via Lazarus wrote: > > 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? > 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

Reply by email

Mattias Gaertner
to Landmesser John: i think thats not correct: set these AutoEncodeStrings settings save and restart Lazarus,…
Show quoted text 16 lines
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?

Keep in mind that ZeosDBO is not maintained by the Lazarus team.

http://wiki.freepascal.org/ZeosDBO

Mattias

Reply by email

Landmesser John
to Ondrej Pokorny: TZConnection is not a part of Lazarus/LCL. So you should first investigate if the problem…

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 ??

Ondrej Pokorny wrote 24 lines
On 03.05.2018 10:10, Landmesser John via Lazarus wrote: > > 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? > 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

Reply by email

Luca Olivetti
to Landmesser John

El 03/05/18 a les 15:24, Landmesser John via Lazarus ha escrit:

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

Reply by email