jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Köll (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JCR-3128) Problem with formerly escaped JCR node names when upgrading to Jackrabbit 2.2.9
Date Tue, 25 Oct 2011 09:04:32 GMT

    [ https://issues.apache.org/jira/browse/JCR-3128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13134850#comment-13134850
] 

Claus Köll 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
	at com.atlassian.greenhopper.upgrade.GhUpgradeTask004.removeProjectIdInLayoutsProperties(GhUpgradeTask004.java:92)
	at com.atlassian.greenhopper.upgrade.GhUpgradeTask004.doUpgrade(GhUpgradeTask004.java:57)

and on every click this one ..
2011-10-25 10:55:35,295 http-8081-3 ERROR udvt0047@tirol.gv.at 655x650x1 1cr9evu 10.12.135.4
/browse/AEICP [greenhopper.jira.license.GreenHopperLicenseManagerImpl] com.atlassian.extras.decoder.api.LicenseDecoderNotFoundException:
Could not find any valid decoders in [com.atlassian.extras.decoder.v2.Version2LicenseDecoder@7b86b0e9,
com.atlassian.extras.decoder.v1.Version1LicenseDecoder@47c8d05a] for license string <P0g8o6w+aM5iUdprKwTX9nVysnCfoMZTTSsv9w8nHb77bXHye8t+VSohqQ7rS9tkZDntOQX0yHjWvocXSsMvrN8AhzXci3mhxSPdOp4tBrCrQG2dP8dgvM/bXWCNx3fAf4+CRoiLmzzRS3wlH//uFclKjc/fin4V4sZNFeUpyuaHNFvX721hxr7A2pRF87JvLvRLcO/RNkQkeb/yCcd55pLBQmzi3+A4sGoGXGrRM4RyTx273HRCV4zD6L1ZDzM+ggTR5donqqNEkux5imQl/lcRI1xrQQg+3BrsIHkcwVza682rkZoJmwkSDVs+pXWXr9M+wgRPiP1WzKjp5zjYvnH4yhTy94B9mITbXjwUN6aKFCbi+sEIsClIFFG1qf4xaSXuKG+upZau1cjEM9wgKzdhB7MRKYtm8uSxKdlxi8wVB3VvsKLlpwLLsnKqhW028DCjS/G1Z7TCIJn3OXfI+6OQiPE7k4RtUuBhlpsmFAcopsfYKORp5HyJqvXVEuXyRFkZlrYgoM4J1250hZYaKnHZpglqm6cAWjSgJsVcYeynVoueuG/Rv2dcgxpTNdN3tzETm4DQt/AaUDpc1TZVQXkzR3XPHwUtRqTJ32T2Z551ERqSEn9Mpd77IMg3E09Es6ZL4HrMhTFkoZP8bX8ysAymAdymnJrzlgGONKl0+bz8XCrLNeByDmAA7sR7XG4ZaFMBs93U6vOlB15vpMqJPkF//vYpDMMTAL3/Lesnkx//rRFPe8cf3pR6Bjo+2SHmhnhH10x+iZFIc7QBfV15bVIettWcjBuEZKa+al8XNlZNZ5oqoblWAOHopG5LY+VKADNMXGN7xkGsIdSJw1RFvgWmOHD9C1DBUFfX5snwVp6MLC0qYux9lTd2BGljkjET93N6U6HTZ2vx3dxM7DRQ3P27gWRv4FiBrQS+qARihJIcOFPmj5z5iZI8XGsU4fchaDtYtPcPEwJBF0ShYwZbILXtIwrmN8zEzrplwGjI5EDM7XSGStN/VXtvD2PKNyv1MIsJdM+WB2Y=>

We had years ago greenhopper activated but yet no more ?
What can i do to disable greenhopper ?

thanks 
claus

                
> 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 jackrabbit 1.6)
>       String escaped = "nam%27e";
>       String unescaped = 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 names that were
escaped in jackrabbit 1.6 are not longer escaped and that breaks the backward compatibility.
I think the problem comes in with JCR-2198. 

--
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

       

Mime
View raw message