Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@locus.apache.org Received: (qmail 45507 invoked from network); 9 Nov 2008 14:25:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2008 14:25:35 -0000 Received: (qmail 80656 invoked by uid 500); 9 Nov 2008 14:25:42 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 80645 invoked by uid 500); 9 Nov 2008 14:25:42 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 80634 invoked by uid 99); 9 Nov 2008 14:25:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 06:25:42 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Nov 2008 14:24:31 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57B7C234C28D for ; Sun, 9 Nov 2008 06:24:44 -0800 (PST) Message-ID: <1231328571.1226240684358.JavaMail.jira@brutus> Date: Sun, 9 Nov 2008 06:24:44 -0800 (PST) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Closed: (JSPWIKI-415) My Favorites doesn't work with users that have a space in their name In-Reply-To: <1319940329.1225915184391.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harry Metske closed JSPWIKI-415. -------------------------------- Resolution: Fixed Fix Version/s: 3.0 Assignee: Harry Metske The Favorites.jsp first uses the IFPlugin to check if the page exists, the answer is Yes, the it uses the InsertPage plugin to insert the page. In the case of pagenames containing blanks the InsertPage cannot find the page. Modified the InsertPage to first use engine.getFinalPageName(). Also added 2 extra JUnit tests for InsertPage and internationalized the InsertPage plugin ==> so Translators, here we go again :-) > My Favorites doesn't work with users that have a space in their name > -------------------------------------------------------------------- > > Key: JSPWIKI-415 > URL: https://issues.apache.org/jira/browse/JSPWIKI-415 > Project: JSPWiki > Issue Type: Bug > Affects Versions: 2.8 > Environment: tomcat 6.0.18 > jre 1.6.0 > Reporter: Trevor Harrison > Assignee: Harry Metske > Priority: Minor > Fix For: 3.0 > > > A user named "Test User" with a space in their name creates TestUserFavorites page. The "My Favorites" heading shows up in the left menu now, but has the text: > There is no page called 'Test UserFavorites'. Would you like to create it? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.