Hello,

Thank you. You are right, the Admin was not in the AdminGroup anymore, I don'r remember why. After changing this and restarting the server the Watchlist mails are o.k. now.

Bye,

Jan
Inactive hide details for users-bounces@xwiki.orgusers-bounces@xwiki.org




          users-bounces@xwiki.org

          14.03.2008 20:22
          Bitte antworten an "XWiki Users"



An: "XWiki Users" <users@xwiki.org>
Kopie:
Thema: Re: [xwiki-users] XWiki 13: Watchlist mails contain scripting code


Hi,

the script seems to retreive a list containing 1 document but for some
reason the job seems not able to retreive this document with
$xwiki.getDocument().
I'd say this could be a right issue, the watchlist job is running with
the XWiki.Admin user permissions.

Have you deleted the XWiki.Admin user ?
Is XWiki.Admin in the XWiki.AdminGroup group ?
If not you'll have to create it / put it in the group then restart xwiki.

hope this helps,
JV.

note to self : could it be possible to use the superadmin user for
jobs if its password is not set in xwiki.cfg ?

On Fri, Mar 14, 2008 at 6:12 PM, Jan-Sebastian Winckelmann
<Jan.Winckelmann@eulerhermes.com> wrote:
>
>
> Hello,
>
>  I tried to use the Watchlist feature of XWiki 1.3 and finally I receive the
> emails created by it but they just contain the scripting code, so the code
> seems not to be excecuted. I already deleted the date fomatting in the code
> as it stops the creation of the mail at all.
>
>  Any ideas?
>
>  Thanks!
>
>  Bye,
>  Jan
>
>
>  Hello Jan-Sebastian, This message is sent by XWiki. Here are the documents
> in your watchlist that have been created or updated since the last
> notification :
> PageInformations
>
> $udoc.getDisplayTitle()${udoc.fullName}modified by , comment :
> $udoc.getComment()
> Modifications on page objects or class
>
>
>
>  Please consider the environment before printing this email
>
>
>
> Euler Hermes is the world's premier credit insurer, offering solutions
>
> for the management of trade receivables, from credit insurance and
>
> financing of trade receivables to bonding and guarantees. Euler
>
> Hermes is a subsidiary of AGF and a member of Allianz.
>
> www.eulerhermes.com
>
>
>
>  -------------------------------------
>
>
>
> This e-mail may contain confidential and/or privileged information. If
>
> you are not the intended recipient or have received this e-mail in error,
>
> notify the sender immediately and destroy this e-mail. Any unauthorised
>
> use, copying, disclosure or distribution of the contents of this e-mail
>
> is strictly forbidden and may be unlawful.
>
>
>
> Read our full e-mail disclaimer statement and monitoring policy
>
> (
http://www.eulerhermes.com/group/en/disclaim/index.html) before
>
> taking any action based on the contents of this e-mail.
>
>
>
>
> _______________________________________________
>  users mailing list
>  users@xwiki.org
>  
http://lists.xwiki.org/mailman/listinfo/users
>
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Euler Hermes is the world's premier credit insurer, offering solutions for the management of trade receivables, from credit insurance and financing of trade receivables to bonding and guarantees. Euler Hermes is a subsidiary of AGF and a member of Allianz. www.eulerhermes.com ------------------------------------- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, notify the sender immediately and destroy this e-mail. Any unauthorised use, copying, disclosure or distribution of the contents of this e-mail is strictly forbidden and may be unlawful. Read our full e-mail disclaimer statement and monitoring policy (http://www.eulerhermes.com/group/en/disclaim/index.html) before taking any action based on the contents of this e-mail.