Skuid date field ,when copying invalid value say a text value , instead of error as invalid date, converts and saves it as a Today's Date

  • 2
  • Problem
  • Updated 3 months ago
  • Acknowledged
Skuid date field ,when copying invalid value say a text value , instead of giving error as invalid date, converts and saves it as a Today's Date
Photo of Gurmeet singh

Gurmeet singh

  • 92 Points 75 badge 2x thumb

Posted 3 months ago

  • 2
Photo of Gurmeet singh

Gurmeet singh

  • 92 Points 75 badge 2x thumb
Skuid version is 11.2.6. Sample Page XML

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" useviewportmeta="true" showsidebar="true" showheader="true" tabtooverride="Contact">
    <models>
        <model id="Contact" limit="1" query="false" createrowifnonefound="true" datasource="salesforce" sobject="Contact">
            <fields>
                <field id="FirstName"/>
                <field id="LastName"/>
                <field id="Birthdate"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <pagetitle model="Contact" uniqueid="sk-13_t-190">
            <maintitle>
                <template>New {{Model.label}}</template>
            </maintitle>
            <subtitle>
                <template>{{Model.labelPlural}}</template>
            </subtitle>
            <actions>
                <action type="savecancel" afterCancel="/{{Model.KeyPrefix}}/o" afterSave="/{{Id}}" rollbackonanyerror="true" uniqueid="sk-13_t-188"/>
            </actions>
        </pagetitle>
        <basicfieldeditor showsavecancel="false" showheader="true" model="Contact" mode="edit" uniqueid="sk-13_t-206">
            <columns>
                <column width="50%">
                    <sections>
                        <section title="Basics" collapsible="no">
                            <fields>
                                <field id="FirstName" uniqueid="sk-13_t-198"/> <field id="LastName" uniqueid="sk-13_t-201"/>
                                <field uniqueid="sk-13-6-292" id="Birthdate"/>
                            </fields>
                        </section>
                    </sections>
                </column>
                <column width="50%">
                    <sections>
                        <section title="Additional Info">
                            <fields/>
                        </section>
                    </sections>
                </column>
            </columns>
        </basicfieldeditor>
    </components>
    <resources>
        <labels/>
        <css/>
        <javascript/>
        <actionsequences uniqueid="sk-13-1-268"/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
    <interactions/>
</skuidpage>

Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Thank you for bringing this to our attention. Thank you even more for providing a repro page - phenomenally helpful. I have been able to reproduce this issue as you have described.

It appears there's an issue in how handle these kind of errors in Skuid. I am logging this as a known issue in our tracking system so I will archive this ticket here.There is not a target date for getting this issue addressed yet but our devs are aware of it.