Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-336

JavaScript Errors Caused by IFrame Handling in adminCentral.jsp on Resin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.1 Final
    • 2.1 Final
    • admininterface
    • None
    • Resin 3.0.12, Fedora Core 3, Internet Explorer, Mozilla Firefox, Mozilla Browser

    Description

      The error is:

      Error: divExtractNonTree has no properties
      Source File: http://localhost:8080/magnolia/admintemplates/js/admincentral.jsp

      In fact, the source code for the page specifically says:

      <!-- a comment here is needed for the correct
      rendering of the iframe tag -->

      But JSP 2.0 strips all comments, and in this particular case they must be passed on to the actual HTML output. Otherwise, this error will exhibit itself in various builds of Mozilla and even in Internet Explorer depending on the web server used.

      The fix is trivial. Place CDATA blocks around the text so that the comments are output to the web browser.

      Patch enclosed.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgiust Fabrizio Giustina
              barik Titus Barik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD