cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when supports portal integration flag checked

shiva_suvarna
Participant
0 Kudos

Hi friends

for my application if i check the flag <b>supports for portal integration</b>. i am getting two java script errors.

<b>1 Invalid argument at line 1 char 83 </b>

the line is below and it is inserted when flag is checked

{var liBehindFirstDot = location.hostname.indexOf(".")+1;if (liBehindFirstDot > 0)document.domain = location.hostname.substr(liBehindFirstDot);}

<b>2 invalid argument </b>

The below code is inserted when flag is checked

<iframe src='/sap/public/bsp/sap/htmlb/domainRelaxMin.htm?0002' id="sapProtectDoubleSubmitId" name="sapProtectDoubleSubmitName" style="position:absolute;display:none;width:250;height:72;z-index:9998" frameborder="no" scrolling="no"></iframe>

the url src='/sap/public/bsp/sap/htmlb/domainRelaxMin.htm?0002' is does not exist my system.

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

when i set the flag supports portal integration, i dont see the <iframe tag getting generated

we are on WAS6.40 SP11 it just generated a js for domain relaxatiion.

are you sure that this flag is generating the <iframe?

Regards

Raja

shiva_suvarna
Participant
0 Kudos

yes i am sure it is generating <iframe

I'm on 6.20 with service pack 53

how can i solve this problem ?

could you please suggest?

athavanraja
Active Contributor
0 Kudos

iframe happens if you have protectdoublesubmit within the page. (i have checked it).

it looks to me the protect doublesubmit is causing problem when supports portal flag is set.

check out the following OSS, this may be of help

688916

Regards

Raja

shiva_suvarna
Participant
0 Kudos

hi raja,

If i remove the ProtectDoubleSubmit i am getting only one java script error that is first one not domain_relax java script error

First error is invalid argument at a line 11 col 83

the line is

var liBehindFirstDot = location.hostname.indexOf(".")+1;if <b>(liBehindFirstDot > 0<b></b>)document.domain = location.hostname.substr(liBehindFirstDot);}

var loCF = window;</b>

i checked the note also the note contains code fixed in 620sp36 but i already had 620sp53.

does i need to apply that note ?

athavanraja
Active Contributor
0 Kudos

since you are already on 620 sp53 you dont need that note. but search OSS for "domainrelax" there are few notes available.

Regards

Raja