tag:help-archives.hannonhill.com,2010-02-09:/discussions/general/23065-large-files-cause-script-errors-when-editing-pageCascade CMS: Discussion 2015-11-18T16:28:04Ztag:help-archives.hannonhill.com,2010-02-09:Comment/384498832015-11-16T21:43:36Z2015-11-16T21:43:36ZLarge files cause script errors when editing page<div><p>Hi Rhonda,</p>
<p>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.</p>
<p>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?</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/384498832015-11-16T22:27:47Z2015-11-16T22:27:47ZLarge files cause script errors when editing page<div><p>Thank you, Ryan! We’re on version 7.12.2.</p>
<p>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.</p>
<p>Here’s a live page (although it has too few links on the
page to cause this problem):<br>
<a href="http://www.cuyamaca.edu/people/rhonda-bauerlein/testing/rjbc/meetings.aspx">
http://www.cuyamaca.edu/people/rhonda-bauerlein/testing/rjbc/meetin...</a></p>
<p>Attached is the format and data definition.</p></div>Rhondatag:help-archives.hannonhill.com,2010-02-09:Comment/384498832015-11-17T15:16:18Z2015-11-17T15:16:18ZLarge files cause script errors when editing page<div><p>Thank you for following up, Rhonda.</p>
<p>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.</p>
<p>The good news is we released a patch containing fixes for these
issues, so upgrading to at least <a href="http://www.hannonhill.com/kb/Release-Notes/7.12.5/index.html">Cascade
7.12.5</a> should resolve the issue you are running into.</p>
<p>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.</p>
<p>Please let me know if you have any questions.</p>
<p>Thanks!</p></div>Ryan Griffithtag:help-archives.hannonhill.com,2010-02-09:Comment/384498832015-11-17T15:32:54Z2015-11-17T15:32:54ZLarge files cause script errors when editing page<div><p>Thank you, Ryan!</p></div>Rhondatag:help-archives.hannonhill.com,2010-02-09:Comment/384498832015-11-18T16:28:01Z2015-11-18T16:28:01ZLarge files cause script errors when editing page<div><p>Not a problem at all, Rhonda.</p>
<p>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.</p>
<p>Have a great day!</p></div>Ryan Griffith