You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kristof Vanbecelaere (Created) (JIRA)" <ji...@apache.org> on 2012/01/06 14:37:39 UTC
[jira] [Created] (OGNL-44) OgnlRuntime.getPermission in 3.0.3
returns null
OgnlRuntime.getPermission in 3.0.3 returns null
-----------------------------------------------
Key: OGNL-44
URL: https://issues.apache.org/jira/browse/OGNL-44
Project: Commons OGNL
Issue Type: Bug
Reporter: Kristof Vanbecelaere
Priority: Blocker
OgnlRuntime.getPermission returns null once the cache has been setup. I think the assignment to result should be outside of the if (permissions == null) block.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OGNL-44) OgnlRuntime.getPermission in 3.0.3
returns null
Posted by "Kjetil Ødegaard (Commented JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OGNL-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13226012#comment-13226012 ]
Kjetil Ødegaard commented on OGNL-44:
-------------------------------------
This bug prevents us from upgrading to Struts 2.3.1.2, since that requires OGNL version newer than 3.0.2.
That means it's a blocker for those of us who have Java 2 Security enabled.
This was especially hard to pin-point because the NullPointerException caused by passing null to SecurityManager is later swallowed by OGNL.
> OgnlRuntime.getPermission in 3.0.3 returns null
> -----------------------------------------------
>
> Key: OGNL-44
> URL: https://issues.apache.org/jira/browse/OGNL-44
> Project: Commons OGNL
> Issue Type: Bug
> Reporter: Kristof Vanbecelaere
> Priority: Blocker
>
> OgnlRuntime.getPermission returns null once the cache has been setup. I think the assignment to result should be outside of the if (permissions == null) block.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira