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:
- Create blank page
- Add “Account” model pointing to Account, add Name field and leave all other defaults
- Preview page - Expected = Actual = Page loads as expected with no errors
- Change “Account” model to “Process client side”
- Preview page - Expected = Actual = Page loads as expected with no errors
- Change “Account” model removing the value for Max # of records
- 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>