On Thu, Jan 31, 2013 at 9:41 AM, Vincent Massol <vincent(a)massol.net> wrote:
On Jan 31, 2013, at 8:27 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com> wrote:
Extension Manager does not use the standard
importer and to be safe it
import attachments separately in order to support anything.
Ok that explains it.
Now the question is: do we want that?
Is it not strange for the user to have 2 initial revs?
Is this temporary while waiting for the standard importer to be rewritten?
It does not have anything to do with some limitation of the
implementation, it's a choice to eat as less memory as possible. It's
always possible to optimize it a bit by deciding to do that only when
there is several attachments or deciding to separate attachments only
when above a configured size, etc.
Thanks
-Vincent
On Wed, Jan 30, 2013 at 10:03 PM, Vincent Massol
<vincent(a)massol.net> wrote:
> Hi devs,
>
> I've installed the UI of a wiki through DW and I've noticed that the
Sandbox.WebHome page had 2 revisions instead of the 1 revision I was expecting.
>
> The first revision has a comment that says "Import: add attachment" and the
second rev has a comment of "Import: final save".
>
> However, if I skip the DW and import the XAR, I'll get only 1 revision AFAIK.
>
> Is this discrepancy normal? Do we want it?
>
> Thanks
> -Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne