[xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
Hello, I use the copyDocument method: http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/XWiki.html#copyDocument%28org.xwiki.model.reference.DocumentReference,%20org.xwiki.model.reference.DocumentReference,%20java.lang.String,%20boolean,%20boolean%29 but file attached on my

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Marius Dumitru Florea
On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, I use the copyDocument method:

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
will recheck with your parameter thank you. De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Lundi 21 juillet 2014 15h51 Objet : Re: [xwiki-users] copyDocument method: copy

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Thomas Mortagne
Maybe you copied a translation. The attachments/objects are associated to the default language only. On Mon, Jul 21, 2014 at 3:51 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, I use the

Re: [xwiki-users] copyDocument method: copy without attachments?

2014-07-21 Thread Pascal BASTIEN
-users] copyDocument method: copy without attachments? Maybe you copied a translation. The attachments/objects are associated to the default language only. On Mon, Jul 21, 2014 at 3:51 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On Mon, Jul 21, 2014 at 3:41 PM, Pascal BASTIEN