Skip to content
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

Version History #3080

Open
1 task done
karhika opened this issue Jan 2, 2025 · 6 comments
Open
1 task done

Version History #3080

karhika opened this issue Jan 2, 2025 · 6 comments
Assignees

Comments

@karhika
Copy link

karhika commented Jan 2, 2025

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Windows Server

Version information

8.2.0

Expected Behavior

History and changes URL data missing from callback URL after edit and saving the documents

current response - {"key":"978589095","status":2,"url":"https://onlyoffice.clife.ai/cache/files/data/978589095_5257/output.docx/output.docx?md5=sLToSC1BJlZVXb9Xw8d1_A&expires=1735827560&shardkey=978589095&filename=output.docx","history":{},"users":["uid-1"],"actions":[{"type":0,"userid":"uid-1"}],"lastsave":"2025-01-02T14:04:08.000Z","notmodified":false,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiI5Nzg1ODkwOTUiLCJzdGF0dXMiOjIsInVybCI6Imh0dHBzOi8vb25seW9mZmljZS5jbGlmZS5haS9jYWNoZS9maWxlcy9kYXRhLzk3ODU4OTA5NV81MjU3L291dHB1dC5kb2N4L291dHB1dC5kb2N4P21kNT1zTFRvU0MxQkpsWlZYYjlYdzhkMV9BJmV4cGlyZXM9MTczNTgyNzU2MCZzaGFyZGtleT05Nzg1ODkwOTUmZmlsZW5hbWU9b3V0cHV0LmRvY3giLCJoaXN0b3J5Ijp7fSwidXNlcnMiOlsidWlkLTEiXSwiYWN0aW9ucyI6W3sidHlwZSI6MCwidXNlcmlkIjoidWlkLTEifV0sImxhc3RzYXZlIjoiMjAyNS0wMS0wMlQxNDowNDowOC4wMDBaIiwibm90bW9kaWZpZWQiOmZhbHNlLCJmaWxldHlwZSI6ImRvY3giLCJpYXQiOjE3MzU4MjY2NTksImV4cCI6MTczNTgyNjk1OX0.p6yN3s8Wt4UtHn65pUY6_69sd2dq-niHdSGqORmNWNk","filetype":"docx"}

Actual Behavior

history and changes url should return from callback URL after saving the document.

Reproduction Steps

No response

Additional information

current response - {"key":"978589095","status":2,"url":"https://onlyoffice.clife.ai/cache/files/data/978589095_5257/output.docx/output.docx?md5=sLToSC1BJlZVXb9Xw8d1_A&expires=1735827560&shardkey=978589095&filename=output.docx","history":{},"users":["uid-1"],"actions":[{"type":0,"userid":"uid-1"}],"lastsave":"2025-01-02T14:04:08.000Z","notmodified":false,"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiI5Nzg1ODkwOTUiLCJzdGF0dXMiOjIsInVybCI6Imh0dHBzOi8vb25seW9mZmljZS5jbGlmZS5haS9jYWNoZS9maWxlcy9kYXRhLzk3ODU4OTA5NV81MjU3L291dHB1dC5kb2N4L291dHB1dC5kb2N4P21kNT1zTFRvU0MxQkpsWlZYYjlYdzhkMV9BJmV4cGlyZXM9MTczNTgyNzU2MCZzaGFyZGtleT05Nzg1ODkwOTUmZmlsZW5hbWU9b3V0cHV0LmRvY3giLCJoaXN0b3J5Ijp7fSwidXNlcnMiOlsidWlkLTEiXSwiYWN0aW9ucyI6W3sidHlwZSI6MCwidXNlcmlkIjoidWlkLTEifV0sImxhc3RzYXZlIjoiMjAyNS0wMS0wMlQxNDowNDowOC4wMDBaIiwibm90bW9kaWZpZWQiOmZhbHNlLCJmaWxldHlwZSI6ImRvY3giLCJpYXQiOjE3MzU4MjY2NTksImV4cCI6MTczNTgyNjk1OX0.p6yN3s8Wt4UtHn65pUY6_69sd2dq-niHdSGqORmNWNk","filetype":"docx"}

@karhika
Copy link
Author

karhika commented Jan 3, 2025

Hi Team, Any update on the above query ?

@igwyd
Copy link
Member

igwyd commented Jan 17, 2025

Hello @karhika, sorry for the late reply. We have version history data as i see in our included test example:

[2025-01-17T08:44:20.062] [DEBUG] [localhost] [__ffff_45.9.230.137new.docx11737103196068] [uid-11] nodeJS - postData request: url = http://142.93.96.108:3000/track?filename=new.docx&useraddress=__ffff_45.9.230.137;data = {"key":"__ffff_45.9.230.137new.docx11737103196068","status":2,"url":"http://142.93.96.108:8080/cache/files/data/__ffff_45.9.230.137new.docx11737103196068_5563/output.docx/output.docx?md5=sJHk-Tt9pf6W1LQLa70pKQ&expires=1737104361&shardkey=__ffff_45.9.230.137new.docx11737103196068&filename=output.docx","changesurl":"http://142.93.96.108:8080/cache/files/data/__ffff_45.9.230.137new.docx11737103196068_5563/changes.zip/changes.zip?md5=STOcJVNL9p2vaszVA85qPw&expires=1737104361&shardkey=__ffff_45.9.230.137new.docx11737103196068&filename=changes.zip","history":{"serverVersion":"8.3.0","changes":[{"documentSha256":"631a0d5c7bcb4ea689677271df3416613941a526b1faf8399c5fd131589792f9","created":"2025-01-17 08:43:18","user":{"id":"uid-1","name":"John Smith"}}]},"users":["uid-1"],"actions":[{"type":0,"userid":"uid-1"}],"lastsave":"2025-01-17T08:43:18.000Z","notmodified":false,"filetype":"docx"}

Are you doing your own integration? Maybe the documentation will help you? https://api.onlyoffice.com/docs/docs-api/usage-api/callback-handler/#history

@igwyd
Copy link
Member

igwyd commented Jan 20, 2025

I checked the save several times and I always get the history. I'll ask a colleague to check the .net test example. Could you please describe your case step by step or record a video?

@Rita-Bubnova Rita-Bubnova assigned askonev and unassigned igwyd Jan 20, 2025
@askonev
Copy link
Member

askonev commented Feb 3, 2025

@karhika if there was no response from the callback about successful saving after the first save {error:0}, then the next time you open with the same key, you will already have an opening from forgotten and there will be no history when saving

@karhika
Copy link
Author

karhika commented Feb 4, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants