bug(office): OnlyOffice "file content does not match" on real files (cannot reproduce in playwright) #22
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_office#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Opening any office file (docx / xlsx / pptx) in headed Chrome (regular or incognito) sometimes shows the OnlyOffice modal:
The error reappears across container restarts and on freshly-touched files. Browser console shows nothing OnlyOffice-related (only unrelated extension/polkadot warnings).
What we've verified server-side
fileconfirmsMicrosoft Excel 2007+,Microsoft PowerPoint 2007+, etc.).md5summatches the source seed./files/{ctx}/{name}?inline=1returns 200 with correctContent-Typeand full body (md5 matches disk).create_editor_sessionreturns a config with the correctdocumentType,fileType,key, andurl.What we've ruled out
rm -rf /var/lib/onlyoffice/.../cache/files/dataand a container restart.touch-ing source files (mtime change → new derived key).Disconnect
tests/e2e/office_editor_real.spec.ts) opens the same files in headless chromium and passes 4/4 including pptx/xlsx/docx, against the same hero_os + hero_office stack the user is hitting.Plausible suspects (untested)
sdkjswasm initialization.Acceptance