Skip to content

Commit

Permalink
Remove duplicating extensions from discovery
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Andras Timar <[email protected]>
  • Loading branch information
mikekaganski authored and timar committed Jun 25, 2020
1 parent 40da330 commit 2de5017
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions discovery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit 2de5017

Please sign in to comment.