NanoContainer
  1. NanoContainer
  2. NANO-44

[script.bsh] Typo in BeanShellComponentAdapter

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Number of attachments :
      1

      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.

        Issue Links

          Activity

          Nick Sieger made changes -
          Field Original Value New Value
          Attachment bsh-fix.zip [ 11544 ]
          Hide
          Jörg Schaible added a comment -

          Reported twice.

          Show
          Jörg Schaible added a comment - Reported twice.
          Jörg Schaible made changes -
          Link This issue is duplicated by NANO-71 [ NANO-71 ]
          Hide
          Jörg Schaible added a comment -

          Fixed with NANO-71

          Show
          Jörg Schaible added a comment - Fixed with NANO-71
          Jörg Schaible made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Nick Sieger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: