Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Bug with unescaped keys for valueMap in DataSourceLoader result

    Hi Isomorphic,

    I'm using latest 5.1p and just introduced a field definition in one of my .ds.xmls:
    Code:
            <field name="QUOTESTRING" length="1" type="text" escapeHTML="true">
                <title><fmt:message key="delimiter" /></title>
                <valueMap>
                    <value ID="&quot;"><fmt:message key="quotestringQuotationMark" /></value>
                    <value ID="'"><fmt:message key="quotestringHighComma" /></value>
                </valueMap>
            </field>
    I wanted to use this to let the user configure the default delimiter for a BatchUploader instance.

    In the DataSourceLoader-result this looks like this (excerpt):
    Code:
    name:"QUOTESTRING",valueMap:{":"Quotation mark (\") ",':"High comma (')"},type:"text",title:"
    I think the key of " and ' needs to be escaped as well (already done for the value).
    As result I could not load any DataSource in the client.

    Best regards
    Blama

    #2
    Hello,

    I've just fixed this problem.
    You can download it with next build.

    Regards

    Comment

    Working...
    X