Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-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 544069910 for ; Tue, 25 Oct 2011 09:06:57 +0000 (UTC) Received: (qmail 7166 invoked by uid 500); 25 Oct 2011 09:06:56 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 7128 invoked by uid 500); 25 Oct 2011 09:06:56 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 7121 invoked by uid 99); 25 Oct 2011 09:06:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Oct 2011 09:06:55 +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; Tue, 25 Oct 2011 09:06:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B06DB31ACEE for ; Tue, 25 Oct 2011 09:04:32 +0000 (UTC) Date: Tue, 25 Oct 2011 09:04:32 +0000 (UTC) From: =?utf-8?Q?Claus_K=C3=B6ll_=28Commented=29_=28JIRA=29?= To: dev@jackrabbit.apache.org Message-ID: <1825996025.12384.1319533472724.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <431793465.12163.1319526512387.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (JCR-3128) Problem with formerly escaped JCR node names when upgrading to Jackrabbit 2.2.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-3128?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D131348= 50#comment-13134850 ]=20 Claus K=C3=B6ll commented on JCR-3128: --------------------------------- Hi, The upgrade was successfully on a stronger server but on every start of the= server i get this exception java.lang.NullPointerException =09at com.atlassian.greenhopper.upgrade.GhUpgradeTask004.removeProjectIdInL= ayoutsProperties(GhUpgradeTask004.java:92) =09at com.atlassian.greenhopper.upgrade.GhUpgradeTask004.doUpgrade(GhUpgrad= eTask004.java:57) and on every click this one .. 2011-10-25 10:55:35,295 http-8081-3 ERROR udvt0047@tirol.gv.at 655x650x1 1c= r9evu 10.12.135.4 /browse/AEICP [greenhopper.jira.license.GreenHopperLicens= eManagerImpl] com.atlassian.extras.decoder.api.LicenseDecoderNotFoundExcept= ion: Could not find any valid decoders in [com.atlassian.extras.decoder.v2.= Version2LicenseDecoder@7b86b0e9, com.atlassian.extras.decoder.v1.Version1Li= censeDecoder@47c8d05a] for license string We had years ago greenhopper activated but yet no more ? What can i do to disable greenhopper ? thanks=20 claus =20 > Problem with formerly escaped JCR node names when upgrading to Jackrabbit= 2.2.9 > -------------------------------------------------------------------------= ------ > > Key: JCR-3128 > URL: https://issues.apache.org/jira/browse/JCR-3128 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: jackrabbit-core > Affects Versions: 2.2.9 > Reporter: Sascha Theves > > The following unit test fails: > {code} > import static org.junit.Assert.*; > import org.apache.jackrabbit.util.Text; > import org.junit.Test; > public class TestEscaping > { > @Test > public void testEscaping() throws Exception > { > // expect this as an escaped string (e.g. formerly escaped with jac= krabbit 1.6) > String escaped =3D "nam%27e"; > String unescaped =3D Text.unescapeIllegalJcrChars(escaped); > assertEquals(escaped, Text.escapeIllegalJcrChars(unescaped)); > } > } > {code} > This is a major problem when upgrading from 1.6.x to 2.2.9. The node name= s that were escaped in jackrabbit 1.6 are not longer escaped and that break= s the backward compatibility. I think the problem comes in with JCR-2198.= =20 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira