From issues-return-33037-archive-asf-public=cust-asf.ponee.io@struts.apache.org Thu Jan 31 14:32:06 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B1B4D180648 for ; Thu, 31 Jan 2019 15:32:05 +0100 (CET) Received: (qmail 41260 invoked by uid 500); 31 Jan 2019 14:32:04 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 41239 invoked by uid 99); 31 Jan 2019 14:32:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2019 14:32:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 283DC180DD2 for ; Thu, 31 Jan 2019 14:32:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 8XZbXipvmpdg for ; Thu, 31 Jan 2019 14:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E52EE60FA4 for ; Thu, 31 Jan 2019 14:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8ED54E26AB for ; Thu, 31 Jan 2019 14:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B27E8243CF for ; Thu, 31 Jan 2019 14:32:00 +0000 (UTC) Date: Thu, 31 Jan 2019 14:32:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-5004) No more calling of a static variable in Struts 2.8.20 available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-5004?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1675729= 1#comment-16757291 ]=20 ASF subversion and git services commented on WW-5004: ----------------------------------------------------- Commit 5524c579d29dbe91fe82428a74fb4cb1888330ba in struts's branch refs/hea= ds/struts-2-5-x from JCgH4164838Gh792C124B5 [ https://gitbox.apache.org/repos/asf?p=3Dstruts.git;h=3D5524c57 ] Fix for NPE issue discovered in WW-5004. (#316) * Fix for NPE issue discovered in WW-5004. - Guard fix for a NPE that can arise under certain conditions, identified b= y A. Mashchenko. * Fix for NPE issue discovered in WW-5004 (amended commit). - Guard fix for a NPE that can arise under certain conditions, identified b= y A. Mashchenko. - Requires the following elements to implement a fuller fix: - Back-port relevant guard logic in ProxyUtil from master into 2.5.x to d= eal with the NPE. - Update SecurityMemberAccess to block access to static fields. - Upgrade to OGNL 3.1.22 (re-enables access to public static fields w/out= access checks). - Add unit test to confirm proper functionality of the fix. - Correct missing entry in 4 test configuration XML files (needed for new= unit test). - Replaced literal injection parameter name for setStaticFieldAccessLevel i= n OgnlValueStackFactory with the appropriate constant. Note: Even though a constant was defined in StrutsConstants, the value fo= r the injection name in all places is the XWorkConstants. It has to remain the same to avoid breaking anything. > No more calling of a static variable in Struts 2.8.20 available > --------------------------------------------------------------- > > Key: WW-5004 > URL: https://issues.apache.org/jira/browse/WW-5004 > Project: Struts 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.5.20 > Environment: Java 7.1 and JSP Websites > Reporter: Deniz Renklig=C3=BCl > Priority: Critical > Labels: build, features, patch, usability > Fix For: 2.5.21, 2.6 > > > After the update from Struts 2.5.18 to 2.5.20 it is not more possible to = call a java static variable in JSP=C2=A0like > {code:java} > > {code} > Please see for more details the release notes of 2.5.20 > [link https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.2= 0|https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.20] > and=C2=A0I tried without success the following description assigned abov= e in the release version notes 2.5.20 with : > {code:java} > > > {code} > =C2=A0https://issues.apache.org/jira/browse/WW-4984 > =C2=A0 > Thanks in advance for your support. -- This message was sent by Atlassian JIRA (v7.6.3#76005)