[jira] Updated: (NANO-44) [script.bsh] Typo in BeanShellComponentAdapter

jira-yCVjj/[email protected] Sun, 29 Feb 2004 18:22:22 -0500 (EST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
The following issue has been updated:

    Updater: Nick Sieger (mailto:[email protected])
       Date: Sun, 29 Feb 2004 6:21 PM
    Changes:
             Attachment changed to bsh-fix.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-44&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=NANO-44

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: NANO-44
    Summary: [script.bsh] Typo in BeanShellComponentAdapter
       Type: Bug

     Status: Unassigned
   Priority: Minor

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: NanoContainer
 Components: 
             Core

   Assignee: 
   Reporter: Nick Sieger

    Created: Sun, 29 Feb 2004 6:21 PM
    Updated: Sun, 29 Feb 2004 6:21 PM

Description:
There's a typo in the BeanShellComponentAdapter where if a script does not correctly assign to the 'instance' variable, the adapter will return null rather than throwing an exception.

Zip file attached with patch and an additional test case.



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

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

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