Search found 11 matches

by aligazi
Mon May 03, 2021 7:24 am
Forum: API
Topic: info service
Replies: 2
Views: 149

Re: info service

Oh, I missed that.
Thanks.
by aligazi
Mon Apr 05, 2021 1:19 pm
Forum: API
Topic: info service
Replies: 2
Views: 149

info service

Hello, I'm trying to fetch document info via command API as instructed in command service API. Documentation indicates that: info - receive a document status and the list of the identifiers of the users who opened the document for editing; I open the document for editing by two different users, and ...
by aligazi
Tue Dec 22, 2020 1:29 pm
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Re: Version History messed up when JWT enabled

Nevermind. I figured it out. There was an error while signing json. Java example did not include signing for version history. Because of this, version history did not work properly. Raised errors etc. So I added a token to version history and it started working. But the diffs in version history were...
by aligazi
Tue Dec 22, 2020 11:44 am
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Re: Version History messed up when JWT enabled

Hello, I had a chance to dig into the issue. I see that there is an issue about the payload i am sending to setHistoryData method. https://api.onlyoffice.com/editors/signature/browser#setHistoryData this page contains sample tokens for the example requests. I want to decode those tokens and see if t...
by aligazi
Thu Dec 03, 2020 8:12 am
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Re: Version History messed up when JWT enabled

Hi,
I have updated the document server to version 6.1. The problem persists.
FYI
by aligazi
Wed Nov 18, 2020 10:33 am
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Re: Version History messed up when JWT enabled

Hi Carl,
I have shared an online test instance with you via PM.
Thanks.
by aligazi
Mon Nov 16, 2020 1:05 pm
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Re: Version History messed up when JWT enabled

Hello Carl, Document server version is 6.0.1. Can't see any related errors in the log file while reproducing the issue. when i click the corrupted version in the version history(as i mentioned the version becomes corrupt when the begininng of the file is edited) i see "Uncaught (in promise) TypeErro...
by aligazi
Fri Nov 06, 2020 7:49 am
Forum: Documents
Topic: Version History messed up when JWT enabled
Replies: 7
Views: 941

Version History messed up when JWT enabled

Hi, I am evaluating document server with the provided java example. I have faced issues about version history when JWT is enabled and fixed them, see https://dev.onlyoffice.org/viewtopic.php?f=9&t=33495 Now version history lists versions and shows changes. But now i am facing a new issue. When JWT i...
by aligazi
Thu Nov 05, 2020 11:05 am
Forum: API
Topic: JWT token missing when Version History clicked
Replies: 4
Views: 728

Re: JWT token missing when Version History clicked

Hi, Adding token to history items worked for me. I have edited FileModel.java to fix this issue. There was an issue about the order of versions in version history. They were not sorted by version. I changed the type of HashSet and HashMap variables to LinkedHashSet and LinkedHashMap to retain order....
by aligazi
Mon Oct 12, 2020 7:30 am
Forum: API
Topic: JWT token missing when Version History clicked
Replies: 4
Views: 728

Re: JWT token missing when Version History clicked

Hello Carl,
Thanks for the response.
So it's a problem about java example? Is there a way i can fix it in my code?