"Cannot read property '0' of undefined" javascript exception during popup display

When a popup is displayed in the model event ‘new row created’, a javascript exception “cannot read property ‘0’ of undefined” is encountered.


  1. The popup is triggered when a “new row” is added to model
  2. if the model is marked to “process client side” the exception is NOT encountered
  3. Removing the field editor from the popup leaving only the page title, and the popup properly displays without encountering an exception

Steps to reproduce:

  1. Create page using XML below
  2. Preview page

Expected Behavior
Popup displays

Actual Behavior
Javascript exception encountered

Sample Page XML

<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true" tabtooverride="Account">   <models>
  <model id="Account" limit="1" query="false" createrowifnonefound="true" sobject="Account" adapter="" type="" doclone="" processonclient="false">
        <field id="Name"></field>
        <field id="CreatedDate"></field>
              <action type="showPopup">
                 <popup title="New Popup" width="90%">
                       <pagetitle model="Account" uniqueid="sk-2rU-Jx-105">
                             <condition type="contextrow" field="Id" mergefield="Id" operator="="></condition>
                       <basicfieldeditor showheader="true" showsavecancel="true" showerrorsinline="true" model="Account" buttonposition="" uniqueid="sk-2rVuwQ-150" mode="read">
                             <column width="100%">
                                   <section title="Section A" collapsible="no">
                                         <field id="Name"></field>
                             <condition type="contextrow" field="Id" mergefield="Id" operator="="></condition>
{{Name}} {{Model.label}}

Barry “Steps to Reproduce” Schnell

And in this case,  the steps were pretty minimal… 

Thanks for the report Barry - we’ll look into this. 

Thanks Rob!

Barry.  We’ve identified this issue and it should be fixed in the next update.  (Which is coming very soon)

Awesome news, thank you!

This should be fixed in Banzai Update 5. Available from the http://skuidify.com/skuidreleases page.

Tested and confirmed as resolved as of Skuid 7.24.  Thank you!