Return-Path: X-Original-To: apmail-click-dev-archive@www.apache.org Delivered-To: apmail-click-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF4AF9CEE for ; Thu, 19 Apr 2012 02:43:07 +0000 (UTC) Received: (qmail 19657 invoked by uid 500); 19 Apr 2012 02:43:07 -0000 Delivered-To: apmail-click-dev-archive@click.apache.org Received: (qmail 19644 invoked by uid 500); 19 Apr 2012 02:43:07 -0000 Mailing-List: contact dev-help@click.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@click.apache.org Delivered-To: mailing list dev@click.apache.org Received: (qmail 19442 invoked by uid 99); 19 Apr 2012 02:43:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Apr 2012 02:43:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_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, 19 Apr 2012 02:43:01 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 552BF3A2783 for ; Thu, 19 Apr 2012 02:42:40 +0000 (UTC) Date: Thu, 19 Apr 2012 02:42:40 +0000 (UTC) From: "Naoki Takezoe (Updated) (JIRA)" To: dev@click.apache.org Message-ID: <971105206.4411.1334803360350.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <804679574.780.1334755788106.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CLK-789) SpringClickServlet injection fails if "Page" class name starts with two or more upper case letters 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/CLK-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naoki Takezoe updated CLK-789: ------------------------------ Fix Version/s: 2.3.1 > SpringClickServlet injection fails if "Page" class name starts with two or more upper case letters > -------------------------------------------------------------------------------------------------- > > Key: CLK-789 > URL: https://issues.apache.org/jira/browse/CLK-789 > Project: Click > Issue Type: Bug > Components: core > Affects Versions: 2.3.0 > Environment: Apache Tomcat 6.0.32 or 7.0.16. JRE 1.6.0_29 on Linux. > Spring Framework 3.0.5. > Reporter: Andrea Cozzolino > Assignee: Naoki Takezoe > Priority: Minor > Labels: spring > Fix For: 2.3.1 > > > I am using SpringClickServlet to integrate Click with Spring. > Spring injection in "Page" classes works only if the class name starts with exactly one upper case letter. > If I have a class "ABTestPage" (that extends org.apache.click.Page and that is a @Component) when I try to use it, any @Resource is "null". If I rename the class to "AbTestPage", any @Resource is correctly injected. > The following simple project demonstrates the problem: https://bitbucket.org/andcoz/clickspringuppercasebug/ -- 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