[xwiki-devs] XWiki.CopyDocument and copy.vm

Sergiu Dumitriu sergiu at xwiki.com
Sat Mar 5 15:05:58 UTC 2011


On 03/05/2011 10:51 AM, Marius Dumitru Florea wrote:
> Hi devs,
>
> I just noticed that we have two forms for copying a document:
>
> Space/Page?xpage=copy
>
> and
>
> XWiki/CopyDocument?sourcedoc=Space.Page
>
> copy.vm has been recently updated to follow the vertical form layout
> standard and its code was also cleaned. XWiki.CopyDocument wasn't
> updated and I find its code a bit buggy.
>
> Maintaining both of them is wrong so I propose to remove
> XWiki.CopyDocument from the XE xar and update LiveTableResultsMacros to
> use xpage=copy for the copy link in the action column (I couldn't find
> any other usages).
>
> I'd like to do this asap.

http://jira.xwiki.org/jira/browse/XWIKI-5932

+1

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/



More information about the devs mailing list