SpagoBILabs / SpagoBI

Outdated version of Knowage - Business Intelligence suite. Explore https://github.com/KnowageLabs for the current repository.
180 stars 110 forks source link

SPAGOBI-1929 - Clicking on hyperlinked field failes in FF and IE #1407

Open KnowageServiceAcc opened 4 years ago

KnowageServiceAcc commented 4 years ago

Details

Key Value
Key SPAGOBI-1929
Type Bug
Status Open
Priority Major
Resolution
Affects
Fix
Components SERVER/Reporting/BIRT
Labels

People

Key Value
Assignee Alberto Ghedin
Reporter Kristen Davis

Dates

Key Value
Created 2014-10-27T20:57:11.000+0100
Updated 2016-04-07T14:43:03.000+0200
Resolved n.d.

Description

I have a table that has URI hyperlinks on it. When you click on the hyperlink it is supposed to take you to another report and pass a parameter to the 2nd report. This works fine in Chrome, but in fails in FF and IE.

In FF, it opens a new tab with nothing in it. (It does no navigation.) In IE, it throws the following error:

SCRIPT438: Object doesn't support property or method 'execCrossNavigation' script block (1), line 1 character 1

the line it is referring to is this line: parent.execCrossNavigation(this.name,'ProductAppUser','Product=AppName');

which is the line i put in the URI javascript field in my report. The parent object should be able to use that method b/c it uses that method perfectly fine in Chrome.

Comments

Alberto Ghedin added a comment - 2014-12-12T12:53:23.304+0100

Actually it’s a strange behaviour. Can you add the code of the hyperlink? it should be some think like "javascript:"

siladitya dash added a comment - 2016-04-07T14:43:03.571+0200

Did you got the reply if not here is the code which I had on Jasper.

"javascript:parent.execCrossNavigation(this.name,'NavigateTestReport2','&UserProfileID="+$P{UserProfileID}+ ($P{CF_ID}== null || $P{CF_ID}.isEmpty()==true? "" : "&CF_ID1="+$P{CF_ID}.replaceAll("'",""))+"&outputType=html','','','self');"