Return-Path: Delivered-To: apmail-roller-commits-archive@www.apache.org Received: (qmail 93505 invoked from network); 19 Aug 2007 02:23:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Aug 2007 02:23:23 -0000 Received: (qmail 63987 invoked by uid 500); 19 Aug 2007 02:23:20 -0000 Delivered-To: apmail-roller-commits-archive@roller.apache.org Received: (qmail 63956 invoked by uid 500); 19 Aug 2007 02:23:20 -0000 Mailing-List: contact commits-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@roller.apache.org Delivered-To: mailing list commits@roller.apache.org Received: (qmail 63947 invoked by uid 500); 19 Aug 2007 02:23:20 -0000 Delivered-To: apmail-incubator-roller-commits@incubator.apache.org Received: (qmail 63944 invoked by uid 99); 19 Aug 2007 02:23:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2007 19:23:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [63.246.22.44] (HELO atlassian01.managed.contegix.com) (63.246.22.44) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2007 02:23:42 +0000 Received: from atlassian01.managed.contegix.com (atlassian01.managed.contegix.com [127.0.0.1]) by atlassian01.managed.contegix.com (Postfix) with ESMTP id 2BFFA2F0047 for ; Sat, 18 Aug 2007 21:22:54 -0500 (CDT) Message-ID: <95555546.1187490174178.JavaMail.j2ee@atlassian01.managed.contegix.com> Date: Sat, 18 Aug 2007 21:22:54 -0500 (CDT) From: "Eric L. Wittle (JIRA)" To: roller-commits@incubator.apache.org Subject: [Roller-JIRA] Created: (ROL-1536) Upgrading from Roller 1.0 doesn't fix root folder name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Upgrading from Roller 1.0 doesn't fix root folder name ------------------------------------------------------ Key: ROL-1536 URL: http://opensource.atlassian.com/projects/roller/browse/ROL-1536 Project: Roller Issue Type: Bug Environment: RHEL4, Tomcat 5.5, Java 1.5.0 Reporter: Eric L. Wittle Assignee: Roller Unassigned After upgrading to roller 3.0, the template display of my bookmark folders/links was imperfect. All of the folders and links were nested within an item named 'top'. I looked at the velocity macro showBookmarkLinksList, and it appeared to be special-casing a folder named 'root'. When I created a new weblog, a folder named 'root' appeared in the database. So expecting that this was sufficient evidence that the name of the root level folder had changed at some point, I executed the following sql: update folder set name='root' where name='top'; I restarted roller, and now magically my blogroll folders are no longer nested inside a folder titled 'top'; each folder and/or bookmark within my root bookmark folder has its own link. I believe this is the intended behavior. It seems like there are two possible solutions. One is to add 'top' to the special case logic in the macro alongside 'root', the other would be to rename the root link in the upgrade sql scripts. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/roller/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira