Skip to content

Sometimes after editing a file and clicking Save & View a "Leave site?" message box appears #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ane-gabriela opened this issue Sep 13, 2022 · 1 comment
Assignees
Milestone

Comments

@ane-gabriela
Copy link

This issue reproduces only from time to time, I couldn't find a clear patterner.

After editing a document and clicking Save & View, sometimes, a message box appears

Screenshot_4

Environment: Windows 11, XWiki 14.4.3 and 14.7, OnlyOffice Connector Application 2.0-rc-2 used (Advanced search EXTENSION ID: com.xwiki.onlyoffice-connector:application-onlyoffice-connector-ui, Version - 2.0-rc-2), https://onlyoffice.devxwiki.com/ (v7.0.1), Chrome 105

trrenty added a commit to trrenty/application-onlyoffice-connector that referenced this issue Sep 16, 2022
trrenty added a commit to trrenty/application-onlyoffice-connector that referenced this issue Sep 16, 2022
…?" message box appears xwikisas#30

* Replace ternary operator with a cleaner line of code.
trrenty added a commit that referenced this issue Sep 16, 2022
…?" message box appears #30 (#33)

* Users should only be allowed to access the .doc, .xls and .ppt documents in view mode #32

* Sometimes after editing a file and clicking Save & View a "Leave site?" message box appears #30

* Many warnings in XWiki console while using OnlyOffice Connector Application 2.0-rc-2 #29

* Fixed one of the warnings that polluted the XWiki console, namely `com.xpn.xwiki.api.DeprecatedContext.getAction` deprecated usage.

* Sometimes after editing a file and clicking Save & View a "Leave site?" message box appears #30

* Replace ternary operator with a cleaner line of code.
@trrenty
Copy link
Contributor

trrenty commented Sep 16, 2022

The issue manifested when the user would leave the page before the modified data was sent to the OnlyOffice server (when auto-saving). The user will now have the "Save and View" button disabled while he edits the file until the OnlyOffice client will notify us that the changes were sent successfully.

@trrenty trrenty closed this as completed Sep 16, 2022
@trrenty trrenty added this to the 2.0 milestone Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants