Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 288B6200BE7 for ; Tue, 20 Dec 2016 19:59:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2737A160B33; Tue, 20 Dec 2016 18:59:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9900B160B12 for ; Tue, 20 Dec 2016 19:59:01 +0100 (CET) Received: (qmail 35718 invoked by uid 500); 20 Dec 2016 18:58:59 -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 35235 invoked by uid 99); 20 Dec 2016 18:58:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Dec 2016 18:58:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AB3E72C0453 for ; Tue, 20 Dec 2016 18:58:58 +0000 (UTC) Date: Tue, 20 Dec 2016 18:58:58 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4727) Struts 2.5.8 no longer supports the directive in the struts.xml MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 20 Dec 2016 18:59:02 -0000 [ https://issues.apache.org/jira/browse/WW-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15764955#comment-15764955 ] Lukasz Lenart commented on WW-4727: ----------------------------------- Cannot confirm that, the only possible option that could break that was adding support for constant substitution - see WW-4698 > Struts 2.5.8 no longer supports the directive in the struts.xml > ------------------------------------------------------------------------- > > Key: WW-4727 > URL: https://issues.apache.org/jira/browse/WW-4727 > Project: Struts 2 > Issue Type: Bug > Components: Core > Affects Versions: 2.5.8 > Reporter: adam brin > Priority: Minor > Fix For: 2.5.next > > > in 2.5.5 and most previous versions of Struts 2 you could use the {{}} directive to separate out constants and other parameters into changsets that could be managed. This appears to have stopped working based on the fact that we're now getting NumberFormatExceptions when trying to parse {{struts.multipart.maxSize}} when it's not defined in the struts.xml but instead in the included file. Setting {{struts.multipart.maxSize}} directly corrects this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)