[fpc-devel] Rather large flaw in TJSONConfig component

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 21 15:38:14 CEST 2010


On Mon, 21 Jun 2010 15:20:09 +0200
Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:

> Hi,
> 
> Attached is a patch which extents the jsonconf test suite. The new test
> highlights a rather big flaw in the workings of the TJSONConfig component.
> This issue might even apply to TXMLConfig component too - I haven't looked yet.

TXMLConfig reads by default the old config.
You can switch this off to start with a clean config.
Unless you use the same paths, no value is lost.

Mattias



More information about the fpc-devel mailing list