Skuid date field ,when copying invalid value say a text value , instead of error as invalid date, co

edited August 17, 2018 in Questions
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

Comments

  • edited August 16, 2018
    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>

  • edited August 18, 2018
    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.
Sign In or Register to comment.

Howdy, Stranger!

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