Re: Error creating a new publication in lenya 2.1.x

Andreas Hartmann <[email protected]> Thu, 24 Feb 2011 11:46:50 +0100
Newsgroups gmane.comp.cms.lenya.user
Message-ID <[email protected]>
Hi Rudolf,

Am 22.02.11 20:03, schrieb Rudolf Korhummel:

[…]

> public Bologna matches(String url) {
          ^
LOL – was that the spell checker of your email client? :)

> - return url.equals("") || url.startsWith("/");
> + return url.startsWith("/");
> }
>
> private Map<String, Publication> publicationCache = new HashMap<String,
> Publication>();
>
> the creation of publications works again.
>
> I'm not sure if there are side effects if I commit.
> @andreas: Do you remember why you did this change ?
> Should I commit ?

I'll take a look at it as soon as I find the time.
Thanks for investigating!

-- Andreas

-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01