wizards/com/sun/star/wizards/web/WWD_Events.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7a4edfbc4bce290e4e26f55728f670bf24423151
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sat Sep 19 14:51:24 2015 +0200

    tdf#92934: Web Wizard: Cannot Export Zip archive
    
    pubAware_ adds 2 elements for each of these:
    LOCAL_PUBLISHER, ZIP_PUBLISHER, FTP_PUBLISHER
    and since ZIP_PUBLISHER is added in second positon,
    the right index is 2 not 4
    
    Change-Id: I0a533fd0cefcbbfca0e95628f64fac6258019600
    Reviewed-on: https://gerrit.libreoffice.org/18715
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Julien Nabet <serval2...@yahoo.fr>
    (cherry picked from commit e72a4a3c2e1608e301daef0b6e87cc70d814e736)
    Reviewed-on: https://gerrit.libreoffice.org/18717
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/wizards/com/sun/star/wizards/web/WWD_Events.py 
b/wizards/com/sun/star/wizards/web/WWD_Events.py
index 4f2208c..42b4184 100644
--- a/wizards/com/sun/star/wizards/web/WWD_Events.py
+++ b/wizards/com/sun/star/wizards/web/WWD_Events.py
@@ -459,7 +459,7 @@ class WWD_Events(WWD_Startup):
         zipFile = sd.callStoreDialog(
             self.settings.cp_DefaultSession.cp_OutDirectory,
             self.resources.resDefaultArchiveFilename)
-        self.setPublishUrl(ZIP_PUBLISHER, zipFile, 4)
+        self.setPublishUrl(ZIP_PUBLISHER, zipFile, 2)
         self.getPublisher(ZIP_PUBLISHER).overwriteApproved = True
 
     '''
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to