Remoting exception when model processed client side contains no row limit (Banzai 7.12)

  • 1
  • Problem
  • Updated 3 years ago
  • Solved
  • (Edited)
When a model is marked to be processed client side, if no value is specified for "Max # of records (Limit)" a remoting exception is encountered.

Steps to reproduce:
1) Create blank page
2) Add "Account" model pointing to Account, add Name field and leave all other defaults
4) Preview page - Expected = Actual = Page loads as expected with no errors
5) Change "Account" model to "Process client side"
6) Preview page - Expected = Actual = Page loads as expected with no errors
7) Change "Account" model removing the value for Max # of records
8) Preview page

Expected - Page loads without error
Actual - Page encounters remoting exception



Sample Page XML
<skuidpage unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">   <models>
      <model id="Account" limit="" query="true" createrowifnonefound="false" adapter="" type="" sobject="Account" doclone="" processonclient="true">
         <fields>
            <field id="Name"/>
         </fields>
         <conditions/>
         <actions/>
      </model>
   </models>
   <components/>
   <resources>
      <labels/>
      <javascript/>
      <css/>
   </resources>
   <styles>
      <styleitem type="background" bgtype="none"/>
   </styles>
</skuidpage>
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Sad face indeed. Client side processing is so new - I'm sure there are going to be lots of corners that need to be polished. 
Photo of Andrew Duensing

Andrew Duensing, Employee

  • 740 Points 500 badge 2x thumb
Thanks for pointing this out Barry! I've fixed this, and it will be out with the next patch.
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
You're on a roll Andrew, thanks again for all your help on this and the other issues, greatly appreciated!
Photo of Barry Schnell

Barry Schnell, Champion

  • 18,076 Points 10k badge 2x thumb
Tested and confirmed as resolved in Skuid 7.16.  Thank you!