On Thu, Nov 15, 2012 at 6:33 PM, Patrice <[email protected]>wrote:

> Hello,
>
> Annoying problem :
> - One wiki on production with 1 space with an eventlistener working on it,
> sending email as soon as a page is created in the space.
> - In dev, the same wiki : we add a new space with an other eventlistener,
> sending email as soon as a page is created in the space (in summary because
> the mail, the conditions of sending it are differents, etc...)
> Everything is OK !
>
> So we've decided to get it on production. On pre-production the second
> listener doesn't send emails. In logs we have this error :
> com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki xxx does not
> exist
>
> xxx is the name of our wiki and declared as an alias of the wiki. We are in
> version 2.6.2.
>

Just to be sure, what do you mean by "alias" exactly here ? In model
related Java code you need to use the wiki identifier. The aliases declared
in the wiki descriptor are only used to link a URL to the proper wiki.


> I don't see what we are missing and so we cannot get it on productio.
>
> Thanks for your help.
>
> Patrice
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/com-xpn-xwiki-XWikiException-Error-number-2-in-0-The-wiki-xxx-does-not-exist-tp7582375.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to