You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2008/12/08 17:14:44 UTC
[jira] Updated: (BSF-22) Cannot create null Javascript Objects
[ https://issues.apache.org/jira/browse/BSF-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated BSF-22:
--------------------
Attachment: JavasciptEngine.patch
Possible fix
> Cannot create null Javascript Objects
> -------------------------------------
>
> Key: BSF-22
> URL: https://issues.apache.org/jira/browse/BSF-22
> Project: BSF
> Issue Type: Bug
> Affects Versions: BSF-2.4
> Reporter: Sebb
> Attachments: JavasciptEngine.patch
>
>
> It's not currently possible to create a null Javascript object using the declareBean() method.
> This works fine for Jexl and BeanShell.
> The problem seems to be in the JavaScriptEngine#declareBean() method; calling Context.toObject() when bean.bean is null does not work.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org