Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

LMD Storage can't read property from "String" to "string"

Hi,

I am using LMD StoragePack for storing properties into XML. So far
everything was working fine but in the latest update of RAD Studio 10.4
Enterprise I am getting the following problem. I am using a standard DB
Memory Table and I am storing Field Definitions into XML.

Old XML file example:

       <DATA>    
                <MemoryTable Type="Component">   
                        <Active Type="Identifier">True</Active>
                        <FieldDefs Type="Collection">                                                                                                                                                                                                                                                                                                                          
                                <item1 Type="CollectionItem">
                                        <Name Type="String">CreationDate</Name>
                                        <DataType Type="Identifier">ftDateTime</DataType>
                                </item1>

New XML file example:

       <DATA>    
                <MemoryTable Type="Component">   
                        <Active Type="Identifier">True</Active>
                        <FieldDefs Type="Collection">                                                                                                                                                                                                                                                                                                                          
                                <item1 Type="CollectionItem">
                                        <Name Type="string">CreationDate</Name>
                                        <DataType Type="Identifier">ftDateTime</DataType>
                                </item1>

XML Storage component now has a problem reading <Name Type="string">CreationDate</Name>,
because "string" is not with a capital letter. I have thousands of
settings which will no longer load. I have to manually search/replace
XML files, so that the settings load properly. Is there any way that you
could make property data read "case" insensitive?

Kind regards



Comments

  • 3 Comments sorted by Votes Date Added
  • Can you provide error message, please?

    Anyway, the issue report is strange, because our code recognizes "string" type (with lower case first letter) as a valid type, while "String" type will be invalid.
  • Here is the error message. I hope it helps.
    png
    png
    LMDError.png
    5K
  • I cannot reproduced this issue, and moreover, as has been noted before, "string" (starting from lower-case letter) is considered as a valid type.
    Can you create small demo project and send it to our support e-mail.
Sign In or Register to comment.