Large files cause script errors when editing page

Rhonda's Avatar


12 Nov, 2015 08:21 PM

We have at least two pages that are having trouble loading in edit mode. In Chrome we get a "Page Unresponsive" error, and clicking Wait doesn't help; the page never loads. In Firefox we get a "Unresponsive Script" error. After clicking "Continue" the page eventually comes up in edit mode.

These pages have a lot of links to pdf files. Unfortunately, I cannot link to them here because they are on our intranet.

I found this bug report from 2010:

It seems to be similar to the problem we're running up against. Is there some other possible cause for these errors? Is there an update on the bug status? Any suggestions besides telling people they can't link to that many files on one page (this is not an option)?


  1. 1 Posted by Ryan Griffith on 16 Nov, 2015 09:43 PM

    Ryan Griffith's Avatar

    Hi Rhonda,

    If you are running at least Cascade 7.4, you should definitely not be running into that particular issue, because it was related to a limitation of the code editor we were using at that time. The new code editor can definitely handle files tens of thousands of lines long.

    When you have a moment, can you describe the asset you are attempting to edit? You mentioned you are trying to edit a page, do you mean a file, block or a page? If not a page, this an XML Block, a CSS file, a JavaScript file? Approximately how large is the file? If a page, can you describe your data definition? Are there a lot of choosers or dropdowns on the page? Also, what version of Cascade are you currently running?

    Please let me know if you have any questions.


  2. 2 Posted by Rhonda on 16 Nov, 2015 10:27 PM

    Rhonda's Avatar

    Thank you, Ryan! We’re on version 7.12.2.

    The asset is a page. This page is used to provide links to agendas, minutes, and documents for each of our college committee meetings. A couple our committee meetings have 10 or 20 documents for each meeting, with up to 50 meetings on a page. Pages with a large number of document links are the ones with the problem (in CMS select page in folder list, then click the Edit tab, then see error message). Documents are selected via a file chooser in the data definition.

    Here’s a live page (although it has too few links on the page to cause this problem):

    Attached is the format and data definition.

  3. 3 Posted by Ryan Griffith on 17 Nov, 2015 03:16 PM

    Ryan Griffith's Avatar

    Thank you for following up, Rhonda.

    Based on your description of the behavior, it sounds as though you are running into a page/block edit performance issue in which many asset choosers were causing the form to lock up the browser when attempting to load the edit form. Additionally, we identified a similar performance issue relating to large forms containing many smart field rules, but this doesn't appear to be affecting you in this case since I am not seeing smart fields within your data definition.

    The good news is we released a patch containing fixes for these issues, so upgrading to at least Cascade 7.12.5 should resolve the issue you are running into.

    Note: there is still a somewhat related performance issue that is outstanding with regards to many dropdowns on the page causing the browser to lock up, but the patch should definitely help resolve the immediate issue you are running into.

    Please let me know if you have any questions.


  4. 4 Posted by Rhonda on 17 Nov, 2015 03:32 PM

    Rhonda's Avatar

    Thank you, Ryan!

  5. 5 Posted by Ryan Griffith on 18 Nov, 2015 04:28 PM

    Ryan Griffith's Avatar

    Not a problem at all, Rhonda.

    I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions or issues during the upgrade process.

    Have a great day!

  6. Ryan Griffith closed this discussion on 18 Nov, 2015 04:28 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM