[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Closed] (OGNL-255) Reflection issue with google app engine and OGNL 3.1.2
From:       "Lukasz Lenart (Jira)" <jira () apache ! org>
Date:       2021-12-31 16:52:00
Message-ID: JIRA.12959465.1460909643000.84665.1640969520012 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/OGNL-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Lukasz Lenart closed OGNL-255.
------------------------------
    Resolution: Fixed

> Reflection issue with google app engine and OGNL 3.1.2
> ------------------------------------------------------
> 
> Key: OGNL-255
> URL: https://issues.apache.org/jira/browse/OGNL-255
> Project: Commons OGNL
> Issue Type: Bug
> Affects Versions: 3.1.2
> Environment: Google App Engine (or Google App Engine Dev Server)
> Reporter: Cornelius Mund
> Priority: Major
> 
> When accessing a function directly from a thymeleaf template via ognl a \
> IllegalAccessException is thrown even though the function is public. I've put \
> together a sample application so you can reproduce the error: \
> https://github.com/cornim/TLBugExample.git Please also note the following:
> If the function is accessed via the property (i.e. ${item.name} instead of \
> ${item.getName()}) no exception is thrown. Also, if one sets \
> OgnlRuntime.setSecurityManager(null); (see CtxListener.java) direct function access \
> via ognl starts working, but that doesn't seem to be a sensible solution.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic