Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17053

The Active Installs page can freeze the browser if there's an exception while retrieving the counter value

    XMLWordPrintable

Details

    • Easy
    • N/A
    • N/A

    Description

      The JavaScript code used to display the counters doesn't check if the value returned from the server is a number (integer). It takes each character (digit) from the value and generates some HTML. If the value is a long stacktrace generated from the server then it will generate a huge HTML structure (a list item for each character in the stacktrace) which freezes the browser.

      Moreover, the requests made to retrieve the counter value are synchronous which also blocks the browser.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: