DocumentServer icon indicating copy to clipboard operation
DocumentServer copied to clipboard

WOPI discovery of onlyoffice supports embeddded param, but actually not works

Open zyf0330 opened this issue 3 years ago • 2 comments

Do you want to request a feature or report a bug? bug What is the current behavior? The urlsrc in the wopi hosting/discovery xml gives <e=EMBEDDED&> query param, but it doesn't work. Returned preview page is still desktop type. If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  1. use urlsrc given in the wopi hosting/discovery xml to construct a url
  2. set e param in the url to true
  3. do POST request with url
  4. preview returned doc page What is the expected behavior? The doc page should be previewed as embedded mode instead of desktop mode.

The type property at root level of the config in the response HTML of POST request is desktop which should be embedded.

Did this work in previous versions of DocumentServer? no DocumentServer version: 7.0 Operating System: Linux Ubuntu Browser version: Google Chrome v100

zyf0330 avatar Apr 18 '22 04:04 zyf0330

Hello @zyf0330 We added embedded mode because our editors have it, but it's not fully implemented in wopi yet. We have issue 56772 in our private issue tracker.

igwyd avatar Apr 21 '22 12:04 igwyd

It's fixed at: https://github.com/ONLYOFFICE/server/commit/6331a5b672d04d807a50020f0200b8fffd0b3c07 https://github.com/ONLYOFFICE/web-apps/commit/92bb952875aaee5057f8b0e73faa08e648e78344 And will be released in the next major release

igwyd avatar Jul 07 '22 15:07 igwyd

DocumentServer v7.2 is released. This issue should be fixed

Feel free to comment or reopen it if you got further questions

ShockwaveNN avatar Sep 23 '22 16:09 ShockwaveNN

Ok. May I know When the feature will be released?

On Thu, Apr 21, 2022, 20:37 Igor Demin @.***> wrote:

Hello @zyf0330 https://github.com/zyf0330 We added embedded mode because our editors have it, but it's not fully implemented in wopi yet. We have issue 56772 in our private issue tracker.

— Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/1725#issuecomment-1105156773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3HTAP7UPJOTMGWN6CHGZ3VGFDYLANCNFSM5TU5SVHQ . You are receiving this because you were mentioned.Message ID: @.***>

zyf0330 avatar Oct 11 '22 08:10 zyf0330

It is released in v7.2.0 several weeks ago

ShockwaveNN avatar Oct 11 '22 09:10 ShockwaveNN