[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4929) birt : reportContext.getHttpServletRequest() returns null

Gonzalez Adrian (JIRA) jira-events at lists.jboss.org
Tue Sep 22 13:58:49 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12486889#action_12486889 ] 

Gonzalez Adrian commented on JBIDE-4929:
----------------------------------------

Found it !

Adding the following line of code in JBossBirtServlet corrects it :
task.getAppContext().put(EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST, req);


> 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

        


More information about the jbosstools-issues mailing list