Pages no longer loading after upgrade to 9.3.3

After 9.3.3 was pushed, I have been having a lot of problems with my Skuid pages.
Pat Vachon kindly helped me resolve some issues when all of my pages were updated to their original versions.
However, I am still having issues where my pages won't load at all. I am able to edit them in the page builder, and I even grabbed the XML and pasted it into a new page...when when I try to preview...the page never loads.
Pat Vachon kindly helped me resolve some issues when all of my pages were updated to their original versions.
However, I am still having issues where my pages won't load at all. I am able to edit them in the page builder, and I even grabbed the XML and pasted it into a new page...when when I try to preview...the page never loads.
Tagged:
2
Categories
- 7.9K Questions
- 926 Ideas
- 220 Discussion Categories
- 178 General
- 9 Community Feedback
- 3 Community Info
- 18 Knowledge Base
Comments
No, it seems pretty hit or miss whether the pages load or not
Thanks,
Susan
Conlan, does the page in question have any models that reference the User object?
Unfortunately, that means I can't use those JS resources unless I resolve why 9.3.3 is no longer playing nice with them.
Would you be willing to take a look at the In-Line Component JS below to see why the issue is now ocurring:
// SKUID http://www.skuidify.com/home
// demo for saving drawing of signature in Salesforce
// Peter Baeza - 2014-04-22
var element = arguments[0],
$ = skuid.$;
$(document).ready(function() {
// init signature canvas
element.jSignature();
element.jSignature("reset");
// Create new signature in text field
var model = skuid.model.getModel('SemiAnnual'),
row = model.getFirstRow(),
sigField = 'Semi_Annual_Signature__c',
sigData = model.getFieldValue(row,sigField);
if(sigData !== null ) { // read back Signature data
element.jSignature("setData", "data:" + sigData);
}
})
The jSignature element is stored within a static resource (referenced by another JS resource within the page).
Any ideas/help would be greatly appreciated
File here: https://drive.google.com/file/d/0B1PKG9_1V4XTeE1jdi1hdTdmSVE/view?usp=sharing
Originally downloaded from GitHub here: https://github.com/willowsystems/jSignature
Here is some helpful insight (paraphrased) I received yesterday from Karen @skuid:
Regarding rollback:
The issue with Salesforce's Spring '17 release created problems in installing any version of Skuid. They provided a workaround which has been implemented in Brooklyn Iteration 3 (9.3.3) so currently, customers are only able to install 9.3.3. Even if we could help them uninstall and reinstall (not recommended), we wouldn't be able to get them back on 8.15.8. (from a package install)
Options:
1. They can create a new sandbox off their production org and it should automatically bring the production version of Skuid (Rockaway 10) down with it. They would be able to package up their Skuid pages in the sandbox they've been working in so they don't lose their development there. They'd be able to unpack those pages in the desired sandbox. Here is a tutorial on how that can be done.
*note: If you have not yet installed skuid on production, you can still do so as long as your production instance is still on Winter '17 and has not been updated to Spring '17
2. A number of bugs from 9.3 have been resolved in 9.3.3 and more will be addressed in Iteration 4 (released 1/26/17, currently available on skuid.com/release website). (you may need to install 9.3.3 into an org before updating to 9.3.4 because of the Spring 17 issue, not positive on this one)
Also, Skuid has an auto-update opt-out list that you may want to put yourself on. Just send the request to their support email and provide the org ids for the environments you don't want to auto-update.
Hope this helps!
First we have to find out, on which jSignature call, you get the error. I assume it's on the second or the third one. Comment out one at a time, until your error doesn't show up again.
If it's the second one, try to use instead of If it's the third one, try to pass some hardcoded data (see below) and let me know if it works, so I can help you further investigating this issue.
Great, thanks. It looks like its the second call that throwing the error...once I commented that second jSignature call, the page loaded fine...although the Sign component didn't load (but I think that's to be expected).
Please advise.
Thanks,
Conlan
$(document).ready(function() {
Replace it with:
$(".nx-page").one("pageload", function() {