The following issue has been updated:

    Updater: Vincent Massol (mailto:[EMAIL PROTECTED])
       Date: Sat, 17 Apr 2004 8:02 AM
    Changes:
             assignee changed from Cactus Developers Mailing List to Vincent Massol
             description changed from In my test I set init parameter as
config.setInitParameter("paramName", "paramValue");

Now when I debug servlet being tested I see that in method init 
config.getInitParameter("paramName") returns "paramValue"
and
config.getServletContext().getInitParameter("paramName") returns null

When you're not debugging servlet both methods works.

Am I missing something or is it a bug? to In my test I set init parameter as
config.setInitParameter("paramName", "paramValue");

Now when I debug servlet being tested I see that in method init 
config.getInitParameter("paramName") returns "paramValue"
and
config.getServletContext().getInitParameter("paramName") returns null

When you're not debugging servlet both methods works.

Am I missing something or is it a bug?
             environment changed from Operating System: All
Platform: All to Operating System: All
Platform: All
             priority changed to Blocker
             Fix Version changed to 1.6
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/CACTUS-94?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/CACTUS-94

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: CACTUS-94
    Summary: servlet initialization parameters not available using 
config.getServletContext().getInitParameter("paramName") when testing
       Type: Bug

     Status: Resolved
   Priority: Blocker
 Resolution: INCOMPLETE

    Project: Cactus
 Components: 
             Framework
   Fix Fors:
             1.6
   Versions:
             1.5

   Assignee: Vincent Massol
   Reporter: Maksym Kovalenko

    Created: Fri, 20 Feb 2004 11:00 PM
    Updated: Sat, 17 Apr 2004 8:02 AM
Environment: Operating System: All
Platform: All

Description:
In my test I set init parameter as
config.setInitParameter("paramName", "paramValue");

Now when I debug servlet being tested I see that in method init 
config.getInitParameter("paramName") returns "paramValue"
and
config.getServletContext().getInitParameter("paramName") returns null

When you're not debugging servlet both methods works.

Am I missing something or is it a bug?


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to