Pentaho BA Platform
  1. Pentaho BA Platform
  2. BISERVER-4067

Embedding a dashboard in an iframe (without mantle interface) fails on firefox, works in IE8

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.5.0 GA, 3.5.1, 3.5.2
    • Component/s: None
    • Labels:
      None
    • Customer Case:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • QA Validation Status:
      Validated by QA

      Description

      Hi,

      Please see attached html page which contains:

      <html><head></head>
      <iframe width="80%" height="100%" src="http://localhost:18080/pentaho/content/dashboards?solution=steel-wheels&path=/dashboards&action_name=Sales%20Analysis.xdash&userid=joe&password=password"></iframe>
      </html>

      If I run this in IE8, I get a window with the dashboard (no mantle interface).
      If I run this in Firefox, I get:

      Permission denied for <http://localhost:18080> to get property Window.mantle_initialized from <http://localhost>.
      pentaho-dashboard-mock-gwt.js()pentah...-gwt.js (line 10)
      [Break on this error] if(window.parent && window.parent.mantle_initialized){

      Now, I can use deep-links in the iframe, this works fine in firefox and IE8, however, the mantle interface is not required in this scenario.

        Activity

        Hide
        Golda David added a comment - - edited
        Tested this issue using the biserver ee build from april 16 th.
        Followed the steps from Nyayashree's comment on IE8, FF 11,Safari 5, Chrome 18, not getting any error message while using the embedded dashboard.This issue is resolved.
        Show
        Golda David added a comment - - edited Tested this issue using the biserver ee build from april 16 th. Followed the steps from Nyayashree's comment on IE8, FF 11,Safari 5, Chrome 18, not getting any error message while using the embedded dashboard.This issue is resolved.
        Hide
        Golda David added a comment -
        Validated this issue using the biserver ee build from April 16 and this issue is resolved
        Show
        Golda David added a comment - Validated this issue using the biserver ee build from April 16 and this issue is resolved
        Hide
        terry bear added a comment -
        have same problem when trying to embed reportViewer in an iframe
        Show
        terry bear added a comment - have same problem when trying to embed reportViewer in an iframe
        Hide
        Bin Lin added a comment -
        The same issue is observed for reportViewer in an iframe. I am using BA 4.5.
        Could you re-open the ticket?
        Show
        Bin Lin added a comment - The same issue is observed for reportViewer in an iframe. I am using BA 4.5. Could you re-open the ticket?
        Hide
        Jared Cornelius added a comment -
        Embedding the report viewer and embedding a dashboard are not the same thing - please open a new/separate ticket with details and repro path for the issue related to embedding the report viewer in an iframe.
        Show
        Jared Cornelius added a comment - Embedding the report viewer and embedding a dashboard are not the same thing - please open a new/separate ticket with details and repro path for the issue related to embedding the report viewer in an iframe.

          People

          • Assignee:
            Golda David
            Reporter:
            Anthony Carter
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: