-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
.txt file format being changed on edit. #1067
Comments
Do not understand you, if you download file as txt it should download as txt
Are you sure, we do not release 6.1 to general public yet, are you using testing version
Please do not call me directly, until 100% sure I will anser your question, I'm not only one handling issues on GitHub |
DocumentServer version: Deployed on : The file extension remains as .txt , but the file content is converted to openxml raw data when being opened in a text editor. The files I worked on is herewith attached |
Which DocumentServer integration with DMS are you using? Nextcloud, some other or your own? If you're using your own - are you sure you're sending txt as fileType options? |
I am trying it on my own. The fileType is set to txt. The config that I am using is as follows:
|
I tried uploading the On upload, the file extension is After saving the edited file, I refreshed the view. The file extension was changed to |
@sreejan-chowdhury Yeah, I agree I can reproduce your case on personal, trying to figure it out |
I asked our dev team and this is correct behavoir, any document after editing become ooxml This is a post about it in FAQ |
Thanks. I have gone through the link. |
@sreejan-chowdhury Yes, but after editing txt file in result you got |
That is true for https://personal.onlyoffice.com/Products/Files/default.aspx#1606623. But the project that I have created does something different. On Save, the callback URL is called by document server. The doPost method that has been implemented for the callback, internally calls the document server to get the file ( In this case there is no conversion of |
I'm not very good at DocumentServer integration, but as far as I understand - there is no way to edit txt file, without converting it to docx. So you should handle this situation, if your integration trying to edit txt file - result always will be docx file, send it to convert service, get txt and overwrite previous result of |
This issue was closed due to no response. |
Do you want to request a feature or report a bug?
On editing a .txt file, the .txt file has openxml format data
What is the current behavior?
.txt file edited displays openxml raw data on being opened in a text editor. The data is displayed properly only when opened in Microsoft Word.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Upload a .txt file. Edit it. Download the file and open it in a text editor.
What is the expected behavior?
.txt file format should not be changed.
Did this work in previous versions of DocumentServer?
NA
DocumentServer version:
6.1
Operating System:
MacOS
Browser version:
Firefox 82.0.2
@ShockwaveNN ShockwaveNN
The text was updated successfully, but these errors were encountered: