[
https://jira.jboss.org/jira/browse/JBIDE-4929?page=com.atlassian.jira.plu...
]
Gonzalez Adrian commented on JBIDE-4929:
----------------------------------------
Here's my testcase.
To reproduce, I'm using JBoss Tools 3.1.0.M2.
1. Create a new Seam project with BIRT reporting facet.
2. download the attachment JBIDE4929-1.zip and install the files in the project's
WebContent.
3. start JBoss (I'm using 4.2.2) and add the webapp.
4. connect to
http://localhost:8080/seam-birt-web/birttests.seam
5. select testbirt link, it should run fine : on sysout you will see
18:36:27,215 INFO [birt] reportContext.getHttpServletRequest =
org.jboss.seam.web.IdentityRequestWrapper@e819b3
18:36:27,215 INFO [birt] sampleReportList = []
6. go back to
http://localhost:8080/seam-birt-web/birttests.seam
7. select Test Birt Embed, it should run fine, but you will see in sysout :
18:38:04,263 INFO [birt] reportContext.getHttpServletRequest = null
18:38:04,263 INFO [birt] sampleReportList = []
So, reportContext.getHttpServletRequest is null only in embed mode.
birt : reportContext.getHttpServletRequest() returns null
----------------------------------------------------------
Key: JBIDE-4929
URL:
https://jira.jboss.org/jira/browse/JBIDE-4929
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: birt
Affects Versions: 3.1.0.M2
Reporter: Gonzalez Adrian
Assignee: Snjezana Peco
Attachments: JBIDE4929-1.zip
Accessing reportContext.getHttpServletRequest() from scripted datasource returns null in
embed mode.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira