nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.38k stars 4.07k forks source link

googledrive: gdoc-file is shown as odt-file ending in webinterface #7291

Closed SGatBugs closed 6 years ago

SGatBugs commented 6 years ago
### Steps to reproduce 1. 2. 3. ### Expected behaviour gdoc-file shall be shown as gdoc-file ending in webinterface ### Actual behaviour gdoc-file is shown as odt-file ending in webinterface ### Server configuration **Operating system**: Univention Corporate Server 4.2 **Web server:** **Database:** **PHP version:** **Nextcloud version:** 12.0.3 **Updated from an older Nextcloud/ownCloud or fresh install:** **Where did you install Nextcloud from:** Univentions App Center **Signing status:**
Signing status ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```
**List of activated apps:**
App list ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your Nextcloud installation folder ```
**Nextcloud configuration:**
Config report ``` If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your Nextcloud installation folder or Insert your config.php content here. Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …) ```
**Are you using external storage, if yes which one:** local/smb/sftp/... **Are you using encryption:** yes/no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... #### LDAP configuration (delete this part if not used)
LDAP config ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your Nextcloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ```
### Client configuration **Browser:** **Operating system:** ### Logs #### Web server error log
Web server error log ``` Insert your webserver log here ```
#### Nextcloud log (data/nextcloud.log)
Nextcloud log ``` Insert your Nextcloud log here ```
#### Browser log
Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
MorrisJobke commented 6 years ago

gdoc-file shall be shown as gdoc-file ending in webinterface

Why? AFAIK it is an odt file. 🤔

SGatBugs commented 6 years ago

Where do you have this information from?

Google speaks of converting odt files to Google Docs (see https://support.google.com/docs/answer/6055139?hl=en): "File types you can convert to Docs, Sheets, or Slides These are the file types that can be converted to Google Docs, Sheets, and Slides: Documents: .doc (if newer than Microsoft® Office 95), .docx, .docm .dot, .dotx, .dotm, .html, plain text (.txt), .rtf, .odt"

BTW. *.gdoc is only a Metafile: http://www.file-extension.org/extensions/gdoc

Google Drive is showing a .gdoc and Google's sync client is downloading a .gdoc, so I expect NextCloud Server and Client to do the same. Even if it is only a meta file. BTW. NextCloud Client is not downloading .gdoc files. And renaming a gdoc file in the server's web interface changes the shown file ending from .odt to *.odt.odt and the renamed document cannot be opened in by Google Docs.

y0va commented 6 years ago

And renaming a gdoc file in the server's web interface changes the shown file ending from .odt to .odt.odt and the renamed document cannot be opened in by Google Docs.

Same here on Nextcloud Server 12.0.5 Client 2.3.3

nextcloud-bot commented 6 years ago

Hey, this issue has been closed because the label stale is set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.

(This is an automated comment from GitMate.io.)