Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Manuri Amaya Perera
On Tuesday, 21 June 2016, Ayoma Wijethunga wrote: > Hi Team, > > Identified that *"issue 1"* occurred because TryIt does not load the > "csrfPrevention.js" JavaScript, which is responsible of injecting CSRF > token values into request. This is because TryIt application does not

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Ayoma Wijethunga
Hi Team, Identified that *"issue 1"* occurred because TryIt does not load the "csrfPrevention.js" JavaScript, which is responsible of injecting CSRF token values into request. This is because TryIt application does not have the usual carbon template applied. [1] should fix the issue. I have

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Manuri Amaya Perera
Hi, I have added content type in tryit.xslt and sent a PR[1]. This resolved issue 2. [1] https://wso2.org/jira/browse/CCOMMONS-16 On Tue, Jun 21, 2016 at 4:01 PM, Manuri Amaya Perera wrote: > Hi Ayoma, > > I think setting the content-type can be done in [1]. > > But this

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Manuri Amaya Perera
Hi Ayoma, I think setting the content-type can be done in [1]. But this issue should occur for other products as well right? [1]

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Ayoma Wijethunga
Hi Team, As Manuri mentioned, "issue 2" occurs because we are serving a JavaScript as the response for service call [1] with the content-type "text/html". This should be corrected to "application/javascript". Is there any possibility for us to send the "content-type" header in the response,

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Manuri Amaya Perera
On Tue, Jun 21, 2016 at 3:26 PM, KasunG Gajasinghe wrote: > > > On Tue, Jun 21, 2016 at 2:37 PM, Manuri Amaya Perera > wrote: > >> Hi all, >> >> Please find the comments inline. >> >> On Tue, Jun 21, 2016 at 9:48 AM, Anupama Pathirage >>

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread KasunG Gajasinghe
On Tue, Jun 21, 2016 at 2:37 PM, Manuri Amaya Perera wrote: > Hi all, > > Please find the comments inline. > > On Tue, Jun 21, 2016 at 9:48 AM, Anupama Pathirage > wrote: > >> Hi, >> >> When we build the product DSS [1] with the latest Kernel Release (4.4.6),

Re: [Dev] DSS Tryit Page issue

2016-06-21 Thread Manuri Amaya Perera
Hi all, Please find the comments inline. On Tue, Jun 21, 2016 at 9:48 AM, Anupama Pathirage wrote: > Hi, > > When we build the product DSS [1] with the latest Kernel Release (4.4.6), > we have observed following issues in "Try it" page. Appreciate any clue on > this to get

[Dev] DSS Tryit Page issue

2016-06-20 Thread Anupama Pathirage
Hi, When we build the product DSS [1] with the latest Kernel Release (4.4.6), we have observed following issues in "Try it" page. Appreciate any clue on this to get them resolved. *1) *In Https mode, Try it requests gives following error on send [2][3]. WARN