Return-Path: X-Original-To: apmail-tapestry-commits-archive@minotaur.apache.org Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5036E9FE1 for ; Thu, 13 Oct 2011 11:03:33 +0000 (UTC) Received: (qmail 47886 invoked by uid 500); 13 Oct 2011 11:03:33 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 47855 invoked by uid 500); 13 Oct 2011 11:03:33 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 47848 invoked by uid 99); 13 Oct 2011 11:03:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 11:03:33 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 11:03:32 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C33E7306819 for ; Thu, 13 Oct 2011 11:03:11 +0000 (UTC) Date: Thu, 13 Oct 2011 11:03:11 +0000 (UTC) From: "Martin Papy (Updated) (JIRA)" To: commits@tapestry.apache.org Message-ID: <532857069.8633.1318503791801.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <587948916.8630.1318503672013.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (TAP5-1693) Improper Detection of "String" Beans in Symbol Injection 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/TAP5-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Papy updated TAP5-1693: ------------------------------ Attachment: screenshot-1.jpg Eclipse Debug Mode We can clearly see : - the Spring "core-context.xml" file that defined the String Bean ( and in comment the JNDI lookup equivalent that is usually used ) - the TapestryModule class filewith the Debug pointbreak when trying to create a HttpServletRequestHandler - the wrong injected value "applicationCharset" (should display UTF-8) > Improper Detection of "String" Beans in Symbol Injection > -------------------------------------------------------- > > Key: TAP5-1693 > URL: https://issues.apache.org/jira/browse/TAP5-1693 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-ioc, tapestry-spring > Affects Versions: 5.3 > Reporter: Martin Papy > Priority: Blocker > Attachments: screenshot-1.jpg > > > I found a pretty confusing issue that seems Blocker to me. > In my project I am using a JNDI name to configure a piece of my application. Basically in this case Spring creates of Bean of type "java.lang.String". That was perfectly working under Tapestry 5.2.6. > Since I updated to 5.3-beta-19 1 time out of 3 the whole application if failling because Tapestry cannot resolve Page Name anymore. > After digging it turns out that Tapestry is Injecting the value of this Bean in several places where it should not : example applicationCharset or startPageName. > Please see attached screenshots for better understanding. -- 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