Huge Code Snippet macro breaks the pages after 8k of lines

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When using the Code Snippet macro within a page, it seems there is a line limitation it can handles, making the pages getting slower or even broken when it reaches more than 8k of lines.

      Steps to Reproduce

      1. Create a page;
      2. Insert the Code Snippet macro;
      3. Insert 9k of lines within the macro - you can use this JSON generator;
      4. Publish the page (if you are able to do so);
      5. Edit the page.

      Expected Results

      You can edit the page as usual.

      Actual Results

      The page crashes or pops up a message stating the connection was lost.

      Notes

      • Sometimes you are not even able to publish the page;
      • If you are editing an existing pages that has more elements, it crashes earlier.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Vinicius (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: