UI Only Fields Broken & Not Updating. Table is also not registering saved changes

  • 1
  • Problem
  • Updated 2 years ago
  • Solved
I just updated one of our sandbox environements to the newest release of Skuid and it completely broke one page (that I know of so far).

 

I had a few UI Only fields that would be updated by a table row action and then a JS Snippet would color the row accordingly. Post update, the UI only field is no longer updating via the table row action and I cannot edit and save any rows in the table.

I’ve tried updating the theme, removing the UI field from the model, but nothing seems to work.

Photo of Josef Lagorio

Josef Lagorio

  • 2,852 Points 2k badge 2x thumb

Posted 2 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
The row action, is it using action framework? Have you looked at the model data using the console.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Oh yeah, remove the query action on the row action.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
Thank you for providing XML of the issue. That always helps us come to the problem much faster. You win today. Chicken dinner.

I'm on 9.5.3 and I'm seeing this issue just as it has been described by Josef. I have sent your reproduction page to our devs and are looking to have a fix or workaround out shortly.
Photo of Josef Lagorio

Josef Lagorio

  • 2,852 Points 2k badge 2x thumb
Hmm ok. Making progress. Thanks!

Any reason why it looks like it is stuck in edit mode? The italicized font
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
I don't know. Be careful though. The info is being saved. You're just not seeing the save until you reload the page.
Photo of Stephen Sells

Stephen Sells, Official Rep

  • 16,856 Points 10k badge 2x thumb
That I am not seeing. To that end I have to ask what version you're on... what version are you on?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
I have it working on 9.5.3.


<skuidpage unsavedchangeswarning="yes" personalizationmode="server" useviewportmeta="true" showsidebar="true" showheader="true" tabtooverride="AE_Connect__c">
    <models>
        <model id="Account" limit="20" query="true" createrowifnonefound="false" datasource="salesforce" type="" sobject="Account">
            <fields>
                <field id="Name"/>
                <field id="NewField" uionly="true" displaytype="PICKLIST" label="NewField" ogdisplaytype="TEXT" picklistsource="manual" readonly="false" defaultvaluetype="fieldvalue">
                    <picklistentries>
                        <entry value="yes" label="yes"/>
                    </picklistentries>
                </field>
                <field id="Id"/>
            </fields>
            <conditions/>
            <actions/>
        </model>
    </models>
    <components>
        <skootable showconditions="true" showsavecancel="true" showerrorsinline="true" searchmethod="server" searchbox="true" showexportbuttons="false" pagesize="10" createrecords="true" model="Account" buttonposition="" mode="read" allowcolumnreordering="true" uniqueid="sk-1XE5X-207">
            <fields>
                <field id="Name" hideable="true" uniqueid="fi-1XFu0-221" valuehalign="" type=""/>
                <field id="NewField" hideable="true" uniqueid="fi-1XVDG-270" valuehalign="" type="" readonly="false"/>
            </fields>
            <rowactions>
                <action type="edit"/>
                <action type="delete"/>
                <action type="multi" label="Run multiple actions" icon="sk-icon-magic">
                    <actions>
                        <action type="blockUI"/>
                        <action type="updateRow" fieldmodel="Account" affectedrows="context" field="NewField" enclosevalueinquotes="true" value="yes"/>
                        <action type="unblockUI"/>
                    </actions>
                </action>
            </rowactions>
            <massactions usefirstitemasdefault="true">
                <action type="massupdate"/>
                <action type="massdelete"/>
            </massactions>
            <views>
                <view type="standard"/>
            </views>
        </skootable>
    </components>
    <resources>
        <labels/>
        <css/>
        <javascript/>
    </resources>
    <styles>
        <styleitem type="background" bgtype="none"/>
    </styles>
</skuidpage>