Row actions changing all visible rows

edited June 25 in Problems
Sometimes when a row action is clicked (e.g. like a field update on the row), all visible rows on that users table are updated at the same time.

There is no reasons why this should happen as these are set up as row actions and 99/100 they work perfectly well.  Could the problem occur if the page hasn't loaded properly so it hasn't set the row context?  Any way to prevent these actions triggering until all the page loads?

Thanks

Comments

  • Pat VachonPat Vachon ✭✭
    edited June 25
    Very strange. Can you share the XML?
  • edited April 2017
    This is the relevant section...let me know if you need the full xml



    <action type="multi" label="Mark as In Progress" icon="fa-coffee">                                    <actions>
                                            <action type="blockUI" snippet="tasks.markProgress" message="Updating task...." timeout="3000"/>
                                            <action type="updateRow" fieldmodel="Taskfeed" affectedrows="context" field="Status" enclosevalueinquotes="true" value="In Progress"/>
                                            <action type="save" rollbackonanyerror="true">
                                                <models>
                                                    <model>Taskfeed</model>
                                                </models>
                                            </action>
                                            <action type="requeryModel" model="Taskfeed" behavior="standard"/>
                                            <action type="unblockUI"/>
                                        </actions>
                                        <renderconditions logictype="and">
                                            <rendercondition type="fieldvalue" operator="=" enclosevalueinquotes="true" fieldmodel="Taskfeed" sourcetype="fieldvalue" field="Status" value="Needs Starting"/>
                                            <rendercondition type="fieldvalue" operator="!=" enclosevalueinquotes="false" fieldmodel="Taskfeed" sourcetype="fieldvalue" field="Account.Accounts_To_Review__c" value="true"/>
                                        </renderconditions>
                                    </action>
  • Pat VachonPat Vachon ✭✭
    edited June 25
    Yup. No sense to it.
  • edited October 2017
    If it's not too much work, maybe just create the page in question again from scratch?
    Don't copy/paste any xml. Literally rebuild again from a fresh page.

    In an earlier release of Skuid, I remember having issues with a page that I couldn't make sense of. xml was fine... Starting from a new page and deleting the old one worked though.
Sign In or Register to comment.