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

create a new odt document - save and reopen -> document empty #3167

Closed
thomaselsaesser opened this issue Sep 5, 2023 · 2 comments
Closed

Comments

@thomaselsaesser
Copy link

Describe the bug
go to files. create a new document test123.odt. Write any text. klick on save and close document. reopen document - document is empty.
Now write any text in the document , klick on save and close document, now reopen and all fine.
The behaviouris only by the first create and open an document .
If i create a new odt document type any text and say save as docx , then the docx document has my text but the odt document none (by the create and first save and close)
Sorry for my bad english - i'm an old man

To Reproduce
Steps to reproduce the behavior:

  1. Go to see describe bug

Expected behavior
Normaly after create document and save and close and then reopen , i must see the text.

Screenshots
If applicable, add screenshots to help explain your problem.

Client details:

  • OS: [ubuntu 22.04.3]
  • Browser [firefox 117 ]
  • Version [e.g. 22]
  • Device: [desktop webbrowsernn]

Server details

Operating system: ubuntu 22.04.03

**Web server: Apache2 2.4.52

**Database: mysql 8

**PHP version: 8.1

**Nextcloud version: 27.0.2.1

Version of the richdocuments app Collabora Online - Built-in CODE Server
23.5.301

Version of Collabora Online

apache2 error log ``` AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /var/www/html/custom_apps/richdocumentscode/proxy.php:383\nStack trace:\n#0 /var/www/html/custom_apps/richdocumentscode/proxy.php(383): implode()\n#1 {main}\n thrown in /var/www/html/custom_apps/richdocumentscode/proxy.php on line 383' ```

Nextcloud log (data/nextcloud.log)

I cant see any error in nextcloud log

Browser log if i click the save button

document] Received post message  
Object { msgId: "UI_Save", args: {…}, deprecated: false }
[document.js:375:13](webpack:///richdocuments/src/document.js)
PostMessageService.sendPostMessage parent {"MessageId":"UI_Save","SendTime":1693907217705,"Values":{"source":"notebookbar"}} [postMessage.tsx:42:16](webpack:///richdocuments/src/services/postMessage.tsx)
[document] **Unhandled post message** 
Object { msgId: "UI_Save", args: {…}, deprecated: false }
[document.js:503:14](webpack:///richdocuments/src/document.js)
[viewer] Received post message 
Object { msgId: "UI_Save", args: {…}, deprecated: false }
@FloMiLe
Copy link

FloMiLe commented Sep 25, 2023

I have this problem, too.

@juliusknorr
Copy link
Member

Looks like an upstream issue of the richdocumentscode app CollaboraOnline/richdocumentscode#223

Maybe you can add your details from this ticket to that one.

@juliusknorr juliusknorr closed this as not planned Won't fix, can't repro, duplicate, stale Oct 12, 2023
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