enclosevalueinquote condition parameter remoting exception (Banzai 7.12)

Barry,

Actually this dynamic Model creation fails in 6.x as well — enclosevalueinquotes has always needed to be camel-cased when creating a Condition via JavaScript. The difference in Banzai is that we’re now surfacing problems with Model updateData() and load() calls as Page Problems, whereas before the problems would have been surfaced either (a) in the debug property on a Model (b) in a Visualforce Remoting Exception, which is what this particular page XML that you’re showing here is doing. When I run this page in a 6.x / Superbank org, I get the following Visualforce Remoting Exception in the Console, whose root error message is identical to what Banzai is now also (more helpfully and visibly) displaying as a Page Problem:

Superbank / 6.x :

So to fix this, in either Superbank or Banzai, you’ll need to change to using camel-casing for encloseValueInQuotes:

       {  
            type: 'fieldvalue'  
            , field: 'Name'  
            , operator: '='  
            , value: 'blahblah'  
            , state: 'on'  
            , inactive: false  
            , name: 'accountName'  
            , **encloseValueInQuotes** : true  
        }