Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-22 Thread Pascal BASTIEN
. De : Eduard Moraru À : Pascal BASTIEN ; XWiki Users Envoyé le : Lundi 21 juillet 2014 15h45 Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug? Hi Pascal, Why are you doing this manually? If you pass $NULL to the wikilanguage parameter of $xwiki.copyDocument

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-21 Thread Eduard Moraru
retrieve: doc.language in my for each loop ... > > > > De : Jeremie BOUSQUET > À : Pascal BASTIEN ; XWiki Users > > Envoyé le : Vendredi 11 juillet 2014 14h13 > Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug? > &g

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-11 Thread Pascal BASTIEN
yé le : Vendredi 11 juillet 2014 14h13 Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug? Hi, 2014-07-11 9:06 GMT+02:00 Pascal BASTIEN : Do you mean I must launch on query by langage? > > >Yes I agree with you about this $item then I can use id of docu

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-11 Thread Jeremie BOUSQUET
> $itemDoc.language and $itemDoc.name return nothing. Are there a magic > functions? > Thxs > > > > > De : Marius Dumitru Florea > À : Pascal BASTIEN ; XWiki Users > > Envoyé le : Jeudi 10 juillet 2014 21h20 > Objet : Re: [xwiki-users]

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-11 Thread Pascal BASTIEN
mDoc.name return nothing. Are there a magic functions? Thxs De : Marius Dumitru Florea À : Pascal BASTIEN ; XWiki Users Envoyé le : Jeudi 10 juillet 2014 21h20 Objet : Re: [xwiki-users] how to purge history in a space? Did I found bug? Just print $item a

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-10 Thread Marius Dumitru Florea
> > > > Did I found a bug? > > NB: I don't use "#foreach ($docName in $xwiki.getSpaceDocsName("SandboxTemplate")" because if Administrator doesn't display hidden document, this code doesn't return SandboxTemplate space hidden documents :-( >

Re: [xwiki-users] how to purge history in a space?

2014-07-10 Thread Pascal BASTIEN
I'm nice :-) http://extensions.xwiki.org/xwiki/bin/view/Extension/Reinit_Sandbox De : "vinc...@massol.net" À : XWiki Users Envoyé le : Mardi 8 juillet 2014 18h51 Objet : Re: [xwiki-users] how to purge history in a space? Hi Pascal, It c

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-10 Thread Pascal BASTIEN
Pascal BASTIEN De : Pascal BASTIEN À : XWiki Users Envoyé le : Mercredi 9 juillet 2014 9h31 Objet : Re: [xwiki-users] how to purge history in a space? Sure! NB: is it to late for my commit for 6.1?:https://github.com/xwiki/xwiki-platform/pull/297 _

Re: [xwiki-users] how to purge history in a space? Did I found bug?

2014-07-10 Thread Pascal BASTIEN
__ De : Pascal BASTIEN À : XWiki Users Envoyé le : Mercredi 9 juillet 2014 9h31 Objet : Re: [xwiki-users] how to purge history in a space? Sure! NB: is it to late for my commit for 6.1?:https://github.com/xwiki/xwiki-platform/pull/297 De

Re: [xwiki-users] how to purge history in a space?

2014-07-09 Thread Pascal BASTIEN
Sure! NB: is it to late for my commit for 6.1?:https://github.com/xwiki/xwiki-platform/pull/297 De : "vinc...@massol.net" À : XWiki Users Envoyé le : Mardi 8 juillet 2014 18h51 Objet : Re: [xwiki-users] how to purge history in a space? Hi P

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
> I wanted reinit my sandbox with velocity code and I wonder if there aren't a > bug with resetArchive method (or if I'm wrong with my syntax) > > Thxs anyway :-) > > > > > > De : "vinc...@massol.net&quo

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
on except Sandbox.WebHome Sandbox/?viewer=history return: "Advertissment: impossible to find this document" The velocity macro to reinit my Sandbox working well now. Thxs De : Pascal BASTIEN À : XWiki Users Envoyé le : Mardi 8 juillet 2014 15h07 Obj

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
__ De : "vinc...@massol.net" À : XWiki Users Envoyé le : Mardi 8 juillet 2014 11h35 Objet : Re: [xwiki-users] how to purge history in a space? On 8 Jul 2014 at 11:14:25, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: > Yes thxs you, I saw this ex

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
does it and do the same. Thanks -Vincent > > De : "vinc...@massol.net" > À : XWiki Users > Envoyé le : Mardi 8 juillet 2014 10h52 > Objet : Re: [xwiki-users] how to purge history in a space? > > > Hi Pascal, > >

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
nsion. De : "vinc...@massol.net" À : XWiki Users Envoyé le : Mardi 8 juillet 2014 10h52 Objet : Re: [xwiki-users] how to purge history in a space? Hi Pascal, Does it work with  http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History ? Thanks

Re: [xwiki-users] how to purge history in a space?

2014-07-08 Thread vinc...@massol.net
Hi Pascal, Does it work with  http://extensions.xwiki.org/xwiki/bin/view/Extension/Remove+Document+History ? Thanks -Vincent On 8 Jul 2014 at 10:29:13, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: > Hello, > I need some help with my velocity script. > I try t

[xwiki-users] how to purge history in a space?

2014-07-08 Thread Pascal BASTIEN
Hello, I need some help with my velocity script. I try to remove history of pages on a space. This code work well for a page: {{velocity}} $xwiki.getDocument('BacASable.TestPage3').getDocument().resetArchive($context.context) {{/velocity}} but my script fail when I launch this one to remove his