Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0E25B1809C for ; Fri, 1 Apr 2016 18:19:26 +0000 (UTC) Received: (qmail 95606 invoked by uid 500); 1 Apr 2016 18:19:25 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 95571 invoked by uid 500); 1 Apr 2016 18:19:25 -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 95537 invoked by uid 99); 1 Apr 2016 18:19:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Apr 2016 18:19:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 927A02C1F5C for ; Fri, 1 Apr 2016 18:19:25 +0000 (UTC) Date: Fri, 1 Apr 2016 18:19:25 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4622) [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222097#comment-15222097 ] ASF GitHub Bot commented on WW-4622: ------------------------------------ GitHub user victorsosa opened a pull request: https://github.com/apache/struts/pull/92 WW-4622 [struts2-tiles-plugin] [StrutsWildcardServletTilesApplicationContext] getRealPath [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath protect the struts API by avoiding the NPE calling ServletContext.getRealPath() You can merge this pull request into a Git repository by running: $ git pull https://github.com/victorsosa/struts ww-4622 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/struts/pull/92.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #92 ---- commit b8826816550422be78be1f7f86ef28f86ee3ca3c Author: Lukasz Lenart Date: 2015-09-28T18:51:50Z WW-4540 Implements Strict DMI aka SMI commit 56ae397d75430dc63fd68b0bfb36afbac1226023 Author: Lukasz Lenart Date: 2015-09-28T19:15:38Z [maven-release-plugin] prepare release STRUTS_2_5_BETA2 commit 6fbdab1848821b54f3d84981fcd1507f5abd5d92 Author: Lukasz Lenart Date: 2015-09-28T19:15:50Z [maven-release-plugin] prepare for next development iteration commit 9638d7adaa9aaed3473e17c9291abdc3421a868a Author: Andrea Ligios Date: 2015-09-29T14:59:30Z Correcting typos... https://issues.apache.org/jira/browse/WW-4550?focusedCommentId=14934912&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14934912 commit 9ad9404bfac2b936e1b5f0f5e828335bc5a51b48 Author: Andrea Ligios Date: 2015-10-05T09:09:48Z Changing an erroneous variable's name RFC 3399 does not exist. RFC 3339 is the one used here: https://tools.ietf.org/html/rfc3339 commit 50ae859dab626b6b8c446158f07a4b8e3f889828 Author: Johannes Geppert Date: 2015-10-05T18:09:55Z WW-4505 Add plugin to support bean validation - Remove pre configured interceptor stack to use bean validation with rest plugin because this causes conflicts when rest plugin is not used commit ecde389ee6fa2a58318d5c78d0186edf8b189b63 Author: Johannes Geppert Date: 2015-10-05T18:15:51Z WW-4540 Enable Strict DMI be default - Extend global allowed methods in rest plugin with rest plugin specific default methods commit a6241552b67986056da32a70ae75d69c5c40a878 Author: Johannes Geppert Date: 2015-10-05T19:25:06Z WW-4540 Enable Strict DMI be default - Add to global allowed methods to rest showcase configuration commit 221ef32e37dfd7b8e2a10e7c1586609d4cba8aec Author: Lukasz Lenart Date: 2015-10-06T06:21:23Z WW-4402 Updates struts-annotations to support JDK8 commit e28e7f69b9c3243a76f5a65615fb2917dab689a9 Author: Lukasz Lenart Date: 2015-10-06T11:27:53Z Includes global-allowed-methods instead of overriding them commit f0797388bc220b48c720e0fb29d42d4f58243757 Author: Lukasz Lenart Date: 2015-10-06T13:27:04Z Fixes failing tests under JDK8 commit a5812bf0b68b0ffc145f6273e3683b4fc92865fc Author: Lukasz Lenart Date: 2015-10-06T13:36:28Z Fixes expected test result commit d95fc63992f3892519d970b07052776e0401003a Author: Andrea Ligios Date: 2015-10-07T14:17:38Z Added support for RFC3339 with date part only https://issues.apache.org/jira/browse/WW-4551 commit 366a0b4a5876b26c95eb186487afbd7e84a1cfaf Author: cnenning Date: 2015-10-09T09:11:34Z added tests for rfc3339 date formats commit 41dd070eda52a72193b9bbf00b9d1f6343dcc5cc Author: cnenning Date: 2015-10-09T09:13:25Z WW-4551 merges #52 which adds support for rfc3339 date-only date-format commit 79a2022b55e48fb65e23f5be8d775c8006ce83e8 Author: Jasper Date: 2015-10-09T11:34:31Z Make it easier to extend to use own ActionInvocation I needed to extend DefaultActionProxyFactory to return my own ActionInvocation, but I had to override all of createActionProxy() to do so. Seems like a safe change to break out the ActionInvocation creation to make it easier to just override that piece. commit 117f5fbacc6193b1384f1cea3ee844252bfbdb3e Author: Jasper Date: 2015-10-09T11:41:05Z Make it easier to extend to override interceptor stack Just as createAction is split out from init, it would be great to split out creating the interceptor iterator creation so it can be overridden without having to override all of init(). (Needed this to always prepend an i18n interceptor to all stacks). commit a7b840c75a913f4b1394e07e9a54919a10a445e9 Author: Christoph Nenning Date: 2015-10-12T10:47:21Z fixed compile error by adding 'new' commit da6b03a0a84afbb27ff238247a6edb2c8201066d Author: Christoph Nenning Date: 2015-10-12T10:54:51Z WW-4553 Merges #55 which moves creation of interceptors list and iterator to a factory method to allow overriding it commit 9c5c568fc5544bb26e7fffcd5a8dbc81dab4cf6a Author: Lukasz Lenart Date: 2015-10-13T04:53:25Z Upgrades to master-10 and cleans up plugins commit 0dd0f045d2cbe6dc6144299e444fe05aa03c0180 Author: Lukasz Lenart Date: 2015-10-13T06:38:09Z Drops deprecation interceptor commit 4bff5a87486b67a6da0f7703af574f2eff65e036 Author: cnenning Date: 2015-10-13T08:21:43Z Cleaned up project to be buildable with jdk8. Moved StrutsPortletTestCase to src/test where it belongs! Declared dependencies -junit-plugin and junit as scope test, as it should be. commit 9d5b948190480aa6916acf639f84529f534b7041 Author: cnenning Date: 2015-10-13T10:52:54Z Revert "Cleaned up project to be buildable with jdk8. Moved StrutsPortletTestCase to src/test where it belongs! Declared dependencies -junit-plugin and junit as scope test, as it should be." This reverts commit 4bff5a87486b67a6da0f7703af574f2eff65e036. commit e0f258f718c4bae691b6b73cb196a3bf55492114 Author: cnenning Date: 2015-10-13T11:06:35Z made spring-core an optional compile dependency, as that is required for javadoc of jdk8 commit ed1b8cc7b32dd31d5196c5cbd5e57b6cc38e05eb Author: cnenning Date: 2015-10-13T11:27:57Z refactored testEntrySet() to be not dependent on order of entries, fixes test executio wiht jdk8 commit 692e763e4391169a06bb832a0fec5a42f16534fc Author: Lukasz Lenart Date: 2015-10-13T17:45:33Z WW-2891 Replaces deprecated Freemarker's operators commit 617bfd23d9deaa1b0e8783964f8d010ff83d7eb9 Author: Lukasz Lenart Date: 2015-10-13T17:46:06Z WW-2891 Cleans up poms and update Freemarker to the latest available version commit 5dcbe657b015c6df5ebbdf35e2548cef41099116 Author: Lukasz Lenart Date: 2015-10-19T18:49:49Z WW-4536 Drops static to allow redefine the key (cherry picked from commit 755ad3fadb0f3b6b6b351c9bc41b59b95c45c07b) commit b79c6959a4d5fbfd816e6dce660b095683ad987b Author: Lukasz Lenart Date: 2015-10-19T18:51:48Z WW-4536 Checks for patterns in action names to build the same key for actions with patterns (cherry picked from commit 30d30e07dee736243b035eb47be4a1c8dae469a2) # Conflicts: # core/src/main/java/com/opensymphony/xwork2/validator/AnnotationActionValidatorManager.java commit 0ba7965637eea7d55959de6517d4157fd8ed0bd3 Author: Lukasz Lenart Date: 2015-10-20T06:39:39Z Drops unused code (cherry picked from commit 412684b) ---- > [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath > ------------------------------------------------------------------------------------------ > > Key: WW-4622 > URL: https://issues.apache.org/jira/browse/WW-4622 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tiles > Affects Versions: 2.3.28 > Reporter: Sebastien Leboucher > Priority: Blocker > > Hi, > Since version 2.3.28, the "struts2-tiles-plugin" API introduce a new listener (StrutsWildcardServletTilesApplicationContext). > This listener make a call to ServletContext.getRealPath method. > However this method can't be used with a tomcat "unpackWARs=false" deployment scheme (https://wiki.apache.org/tomcat/RemoveUnpackWARs). > Cause when war file is not exploded, this method return always "null". > So i get a NullPointerException during context loading ! > Could you restore a classpath context loading ? As in the previous version ? > thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)