Millau upgrade 11.2.9 Issue with ""

  • 1
  • Problem
  • Updated 1 year ago
  • Solved
  • (Edited)
Hello all,

I recently upgraded Skuid from version Rockaway - Iteration 15 8.15.17 to Millau 11.2.9 (JQuery 1.11.1 to 3.0.0).  I am troubleshooting a SOSL query being made in one of my autocomplete fields using  After the call is made, I am getting the following error in the search result:

error: "Expected skuid.SearchRequest.ObjectRequest but found "Account" at [line:1, column:58]"

Chrome Developer Console (Search Result)
{sosl: null, results: null, error: "Expected skuid.SearchRequest.ObjectRequest but found "Account" at [line:1, column:58]", request: {...}}
Code for 11.2.9
var $ = skuid.$;
var queryText = 'skuid';
// Perform our SOSL Search
query: queryText,
searching: "ALL FIELDS",
returning: [
{ "objectName": "Account", "fields": ["Name","CreatedDate"] },
{ "objectName": "Contact", "fields": ["FirstName","LastName","CreatedDate"] }
] })).done(function(searchResult){ console.log("searchResult error output here = " + searchResult); $.each(searchResult.results,function(i,sobjectResult){ var objectName = sobjectResult.objectName; var records = sobjectResult.records; console.log('* Found ' + records.length + ' ' + objectName + ' records'); $.each(records,function(j,record){ if (objectName==='Contact') { console.log('Found Contact: ' + record.FirstName + ' ' + record.LastName); } else console.log('Found Account: ' + record.Name); }); }); }).fail(function(searchResult){ console.error('Search failed: ' + searchResult.error); }).always(function(searchResult){ console.log('Raw SOSL generated: ' + searchResult.sosl); console.log('Original search request'); console.log(searchResult.request);  });
What's interesting is that the promise callback is invoking "done" rather then "fail".  In any case, the code works fine on our other non-upgraded envrionments and the code syntax and structure has not changed in 11.2.9.    

Any help would be greatly appreciated,

Photo of Bonzy


  • 132 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Luzie Baumgart

Luzie Baumgart, Official Rep

  • 4,664 Points 4k badge 2x thumb
I'm sorry that this post has not been updated earlier. You might know the following already, I wanted to make sure that this information is replied here: The improvement "Backwards compatibility in API with previous releases" has been added in version 11.2.11 which is available from the Skuid Releases page at If you don't see the version in the list, you might need to switch the filter Release = Millau. As a reminder, Salesforce does NOT allow reverting back to prior versions of managed packages. Skuid always recommends installing new versions in a non-business critical sandbox environment to test all mission critical functionality before installing into a production environment. We also recommend that you update out of date themes when you upgrade.