|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #698617 is a reply to message #698547] |
Tue, 19 July 2011 20:16 |
|
Can you verify that you have cookies enabled?
Jason
On 7/19/2011 12:40 PM, Brian wrote:
> I've inherited a system built around BIRT 2.5 and the embedded BIRT viewer.
> The reports seem to work fine in Chrome, Firefox and versions of IE
> previous to 9 but in IE 9 they fail to show and I can only get a blank
> screen with no error message.
> The strange thing is, if I use the developer tools in IE 9 and set the
> document mode to IE7 or IE8 then refresh the page the reports work as
> expected.
>
> Does anyone have any idea how to resolve this? I have a feeling that it
> may be JavaScript related somehow. I know that I'm in an old version of
> BIRT but unfortunately upgrading isn't an option right now.
>
> Thanks.
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #703466 is a reply to message #703440] |
Wed, 27 July 2011 15:36 |
|
What url are you using?
I assume you can not try with 3.7?
What happens if you put an if( reportContainer.style != null ){ around
the reportContainer lines?
Jason
On 7/27/2011 11:20 AM, Brian wrote:
> Hi Jason,
>
> Yes, cookies are enabled.
> To clarify, in IE 9 I just get the "Processing, please wait..." message
> -- the report never actually renders. In other browsers, including
> earlier versions of IE the report renders fine.
>
> In IE 9, when debugging I've noticed I get a JavaScript error in this
> section of AbstractBaseReportDocument.js.
>
> if (BrowserUtility.isIE) {
> var reportContainer = this.__instance.firstChild;
>
> if (reportContainer != null) {
> var scrollBarWidth = BrowserUtility._getScrollBarWidth(reportContainer,
> width, height);
> var containerWidth = "100%";
>
> if (height < reportContainer.offsetHeight && width > scrollBarWidth) {
> containerWidth = (width - scrollBarWidth) + "px";
> }
> reportContainer.style.overflowX = "visible";
> reportContainer.style.overflowY = "visible";
> reportContainer.style.position = "relative";
> reportContainer.style.width = containerWidth;
> }
> }
>
>
> The actual error is:
> Unable to set value of the property 'overflowX': object is null or
> undefined
>
> When I toggle IE 9's Document Mode between 9 and 8 I can see that the
> type and content of reportContainer varies between the two modes.
>
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #703517 is a reply to message #703482] |
Wed, 27 July 2011 16:36 |
|
Why are you using the output mapping? Can you open a bug for this?
Jason
On 7/27/2011 12:05 PM, Brian wrote:
> The report is embedded in an IFRAME, so the URL is something like:
> ...://test.dom/birt-viewer/output?__report=organisation.rptdesign$period=3&userId=2
>
>
> If I check update the JavaScript to check that the reportContainer isn't
> null, I don't get the same error but the report still fails to render.
> Interestingly, when I debug the JavaScript in IE I see this:
>
> In IE 9 reportContainer is a type of Object, Text
> In IE 8 reportContainer is DispHTMLDivElement
>
> I'm working on getting a 3.7 environment setup on a sandbox as we speak.
> I can't upgrade to 3.7 on the environment that's showing this bug, as
> this is a mirror of a production environment.
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #780878 is a reply to message #780687] |
Thu, 19 January 2012 18:55 |
|
Shane,
can you add your issue to this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350736
Also how are you running it with an iframe? Or just the standard viewer
with no customizations?
Jason
On 1/18/2012 11:09 PM, Shane Allred wrote:
> Was there ever a solution found to this problem? I'm having the exact
> same problem using the Birt 3.7 Viewer. I've tried setting the
> X-UA-Compatible meta tag, which didn't seem to help with the error. The
> viewer runs fine in IE 9 in compatibility mode and fine outside of an
> iframe.
>
> The JavaScript Error is as follows:
>
> User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64;
> Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR
> 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3)
> Timestamp: Thu, 19 Jan 2012 03:13:01 UTC
>
> Message: Unable to set value of the property 'overflowX': object is null
> or undefined
> Line: 171
> Char: 5
> Code: 0
> URI:
> localhost:8443/birt/webcontent/birt/ajax/ui/report/AbstractBaseReportDocument.js
>
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #781148 is a reply to message #780904] |
Fri, 20 January 2012 17:56 |
|
Have you tried the BIRT tag libraries? I am trying reproduce this error
and I can not seem to do that.
Jason
On 1/19/2012 4:21 PM, Shane Allred wrote:
> I am running the viewer in an iframe. I haven't modified the viewer code
> at all.
>
> The error seems to occur when I use frameset. The preview works fine,
> but for my requirements I really need to use the frameset with the
> different export options (csv, excel, pdf, etc.).
>
> The viewer seems to run fine in IE 9 in compatibility mode. It also runs
> fine outside of an iframe. It seems to be the exact same issue that
> Brian logged in this thread.
> Does anyone know of a temporary workaround/fix?
>
> I'll log the bug as requested.
|
|
|
|
Re: Internet Explorer 9 not displaying BIRT 2.5 reports [message #782387 is a reply to message #781155] |
Mon, 23 January 2012 16:27 |
|
I tried it with an iframe in a jsp page and it worked for me.
I tried this with BIRT 2.5.2.
Jason
On 1/20/2012 1:14 PM, Shane Allred wrote:
> I am running a PHP application so was trying to run the reports in an
> iframe to avoid using the Java Bridge. The reports work fine in IE9
> outside of an iframe. Have you tryed using an iframe?
>
> I assume the tag libraries require the use of JSP pages?
>
> Thanks
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04689 seconds