Return-Path: X-Original-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76669D2F6 for ; Sat, 7 Jul 2012 05:54:37 +0000 (UTC) Received: (qmail 22150 invoked by uid 500); 7 Jul 2012 05:54:36 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 22120 invoked by uid 500); 7 Jul 2012 05:54:36 -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 22087 invoked by uid 99); 7 Jul 2012 05:54:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2012 05:54:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9D00E142822 for ; Sat, 7 Jul 2012 05:54:34 +0000 (UTC) Date: Sat, 7 Jul 2012 05:54:34 +0000 (UTC) From: "brushed (JIRA)" To: jspwiki-dev@incubator.apache.org Message-ID: <1473889096.18224.1341640474645.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2108005947.29427.1340109343117.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (JSPWIKI-734) ShortURLConstructor causes Syntax Error when loading jspwiki-edit.js 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/JSPWIKI-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] brushed resolved JSPWIKI-734. ----------------------------- Resolution: Fixed Fix Version/s: 2.9 Graduating fixed in 2.9.0-incubating-5 > ShortURLConstructor causes Syntax Error when loading jspwiki-edit.js > -------------------------------------------------------------------- > > Key: JSPWIKI-734 > URL: https://issues.apache.org/jira/browse/JSPWIKI-734 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage > Affects Versions: 2.8.4, 2.9 > Environment: FF 13.1 - Windows - Tomcat 7.0.27 > Reporter: Bertram Nudelbach > Fix For: Graduating, 2.9 > > > I tried using {{jspwiki.urlConstructor = ShortURLConstructor}} and it took me a quite amount of time to see that this causes a problem: > The editor toolbar is not working anymore, the quick preview under the editing text area eighter. > The web console of firefox shows that there is a syntax error in line 13 in {{jspwiki-edit.js}}. > The line highlighted is: > {{}} > Using the {{ShortViewURLConstructor}} or the default "fixes" the problem. -- 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