[GH-ISSUE #732] Failed to modify the document name. #328

Closed
opened 2026-02-26 10:31:53 +03:00 by kerem · 5 comments
Owner

Originally created by @githust66 on GitHub (May 6, 2024).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/732

Do you want to request a feature or report a bug?

report a bug

What is the current behavior?

Modify the file name when editing a document.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

Modify the document name when editing the document, and the input box will be reset to the original name after the modification. Or open the menu, rename and refresh the web page, and the name will be the same, and it will be reset.

What is the expected behavior?

Modification succeeded.

Did this work in previous versions of DocumentServer?

I don't know

DocumentServer Docker tag:

Docker-DocumentServer master latest

Host Operating System:

Linux iZuf66bzyv51fwe7hll0zfZ 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Originally created by @githust66 on GitHub (May 6, 2024). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/732 **Do you want to request a *feature* or report a *bug*?** report a bug **What is the current behavior?** Modify the file name when editing a document. **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** Modify the document name when editing the document, and the input box will be reset to the original name after the modification. Or open the menu, rename and refresh the web page, and the name will be the same, and it will be reset. **What is the expected behavior?** Modification succeeded. **Did this work in previous versions of DocumentServer?** I don't know **DocumentServer Docker tag:** Docker-DocumentServer master latest **Host Operating System:** Linux iZuf66bzyv51fwe7hll0zfZ 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
kerem 2026-02-26 10:31:53 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@Rox-Lvmaohua commented on GitHub (May 6, 2024):

I also encountered this problem. My current idea is that the file is stored locally, which prevents the file name modified in the front-end from being synchronized to the local, resulting in renaming failure.

<!-- gh-comment-id:2095534675 --> @Rox-Lvmaohua commented on GitHub (May 6, 2024): I also encountered this problem. My current idea is that the file is stored locally, which prevents the file name modified in the front-end from being synchronized to the local, resulting in renaming failure.
Author
Owner

@askonev commented on GitHub (Jun 5, 2024):

@githust66 Are you working with a document through our test file manager? (route /example)

<!-- gh-comment-id:2150402427 --> @askonev commented on GitHub (Jun 5, 2024): @githust66 Are you working with a document through our test file manager? (route /example)
Author
Owner

@githust66 commented on GitHub (Jun 6, 2024):

@githust66 Are you working with a document through our test file manager? (route /example)

yes, example

<!-- gh-comment-id:2151444094 --> @githust66 commented on GitHub (Jun 6, 2024): > @githust66 Are you working with a document through our test file manager? (route /example) yes, example
Author
Owner

@askonev commented on GitHub (Jun 7, 2024):

Dear @githust66. On the start page of the example, it says "Get started with a demo-sample of ONLYOFFICE Document Editors..." In other words, this project is the basis for further development. You can join the development of the test case and contribute to the improvement of the product.
https://github.com/ONLYOFFICE/document-server-integration/tree/master/web/documentserver-example/nodejs

Also, when changing the file name, you may have noticed logs in the browser console:

onRequestRename: "test"

{"result":{"status":200,"statusCode":200,"statusMessage":"OK","headers":{"server":"nginx","date":"Fri, 07 Jun 2024 10:07:47 GMT","content-type":"application/json","content-length":"54","connection":"keep-alive","vary":"Accept-Encoding","etag":"W/\"36-2ghBtktqWX7dsEXIhhVEByiI2bI\""},"size":54,"aborted":false,"rt":5,"keepAliveSocket":false,"data":{"type":"Buffer","data":[123,34,107,101,121,34,58,34,49,57,50,46,49,54,56,46,52,46,49,51,56,110,101,119,46,100,111,99,120,49,55,49,55,55,53,50,57,53,57,54,53,50,34,44,34,101,114,114,111,114,34,58,48,125]},"requestUrls":["/coauthoring/CommandService.ashx"],"timing":null,"remoteAddress":"127.0.0.1","remotePort":80,"socketHandledRequests":1,"socketHandledResponses":1}}

Which means that the event https://api.onlyoffice.com/editors/config/events#onRequestRename it works correctly

<!-- gh-comment-id:2154525104 --> @askonev commented on GitHub (Jun 7, 2024): Dear @githust66. On the start page of the example, it says "Get started with a demo-sample of ONLYOFFICE Document Editors..." In other words, this project is the basis for further development. You can join the development of the test case and contribute to the improvement of the product. https://github.com/ONLYOFFICE/document-server-integration/tree/master/web/documentserver-example/nodejs Also, when changing the file name, you may have noticed logs in the browser console: ```js onRequestRename: "test" {"result":{"status":200,"statusCode":200,"statusMessage":"OK","headers":{"server":"nginx","date":"Fri, 07 Jun 2024 10:07:47 GMT","content-type":"application/json","content-length":"54","connection":"keep-alive","vary":"Accept-Encoding","etag":"W/\"36-2ghBtktqWX7dsEXIhhVEByiI2bI\""},"size":54,"aborted":false,"rt":5,"keepAliveSocket":false,"data":{"type":"Buffer","data":[123,34,107,101,121,34,58,34,49,57,50,46,49,54,56,46,52,46,49,51,56,110,101,119,46,100,111,99,120,49,55,49,55,55,53,50,57,53,57,54,53,50,34,44,34,101,114,114,111,114,34,58,48,125]},"requestUrls":["/coauthoring/CommandService.ashx"],"timing":null,"remoteAddress":"127.0.0.1","remotePort":80,"socketHandledRequests":1,"socketHandledResponses":1}} ``` Which means that the event https://api.onlyoffice.com/editors/config/events#onRequestRename it works correctly
Author
Owner

@Rita-Bubnova commented on GitHub (Jun 7, 2024):

I close this issue. Feel free to comment or reopen it if you got further questions.

<!-- gh-comment-id:2154538268 --> @Rita-Bubnova commented on GitHub (Jun 7, 2024): I close this issue. Feel free to comment or reopen it if you got further questions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#328
No description provided.