[Libreoffice-commits] online.git: discovery.xml

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 25 10:27:35 UTC 2020


 discovery.xml |   18 ------------------
 1 file changed, 18 deletions(-)

New commits:
commit 2de5017e329ce09efbd8f4dc6066fdba3e2c080c
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Thu Jun 25 11:59:50 2020 +0200
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Jun 25 12:27:15 2020 +0200

    Remove duplicating extensions from discovery
    
    Fixes the problem that binding with SharePoint using New-SPWOPIBinding
    is only possible when specific extensions or applications are specified.
    Trying to bind all information from discovery resulted in error:
    
        New-SPWOPIBinding : One or more of the WOPI bindings specified in
        New-SPWOPIBinding already exist. The operation has been cancelled.
    
    Change-Id: I5675c4cee8b68b81b5c0971a5dc577f653a1ae5b
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97063
    Tested-by: Jenkins
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/discovery.xml b/discovery.xml
index 0f114c095..95c346240 100644
--- a/discovery.xml
+++ b/discovery.xml
@@ -254,9 +254,6 @@
         <app name="application/rtf">
             <action name="edit" default="true" ext="rtf"/>
         </app>
-        <app name="text/rtf">
-            <action name="edit" default="true" ext="rtf"/>
-        </app>
         <app name="text/plain">
             <action name="edit" default="true" ext="txt"/>
         </app>
@@ -266,15 +263,9 @@
         <app name="application/clarisworks">
             <action name="view" default="true" ext="cwk"/>
         </app>
-        <app name="application/vnd.corel-draw">
-            <action name="view" default="true" ext="cdr"/>
-        </app>
         <app name="image/x-wpg">
             <action name="view" default="true" ext="wpg"/>
         </app>
-        <app name="application/prs.plucker">
-            <action name="view" default="true" ext="pdb"/>
-        </app>
         <app name="application/x-iwork-pages-sffpages">
             <action name="view" default="true" ext="pages"/>
         </app>
@@ -290,21 +281,12 @@
         <app name="image/x-freehand">
             <action name="view" default="true" ext="fh"/>
         </app>
-        <app name="application/vnd.palm">
-            <action name="view" default="true" ext="pdb"/>
-        </app>
         <app name="application/vnd.sun.xml.chart">
             <action name="view" default="true" ext="sxs"/>
         </app>
-        <app name="application/vnd.sun.xml.writer.web">
-            <action name="view" default="true" ext="stw"/>
-        </app>
         <app name="application/x-t602">
             <action name="view" default="true" ext="602"/>
         </app>
-        <app name="application/vnd.sun.xml.report.chart">
-            <action name="edit" default="true" ext="odc"/>
-        </app>
         <app name="image/bmp">
             <action name="view" ext="bmp"/>
         </app>


More information about the Libreoffice-commits mailing list