Announcement

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

    Setting checkComponentData=none in SQLDataSource is not respected

    I have a SQL DataSource with isUnique validator:
    Code:
    <validator type="isUnique" errorMessage="Name already exists" checkComponentData="none"/>
    and I expected that checkComponentData=none would disable this warning in console:
    *20:47:05.294:MUP5:INFO:Log:DataSource testDS does not appear to have all rows loaded. Skipping client-side isUnique validation on itemname
    but it still appears. Validator is sent correctly from backend, i.e. DSField on client contains checkComponentData=none:
    Code:
    clientGroupsDS.fields.name.validators[2]
    Object { checkComponentData: "none", criteriaFields: "tenant_id,name", type: "isUnique", ID: "_35" }
    Using serverOnly=true does what I want (and is shorter), so it's a minor nitpicking from me. Also, the message should have a space before field name, and single space after comma.

    "v13.1p_2025-08-06/PowerEdition Deployment"

    #2
    Can you show us how you are getting this to happen? It's not showing up in our automated tests of this feature.

    Comment

    Working...
    X