ios icon indicating copy to clipboard operation
ios copied to clipboard

iOS App resets files to 0 Byte

Open Virsacer opened this issue 2 years ago • 5 comments

This behaviour started today after updating the iOS App. Tested with .xlsx and .txt

Steps to reproduce

  1. Click share on a file
  2. Click the app to edit the file
  3. Edit the file with the app and save it

Expected behaviour

Upload the new version of the file as is

Actual behaviour

The file is now 0 Byte and is uploaded to the server overwriting my data

Screenshots

image

Reasoning or why should it be changed/implemented?

It is deleting data

Environment data

iOS version: 17.5.1

Nextcloud iOS app version: 5.5.0.11

Web server: Apache

Database: MySQL

PHP version: 8.1.2-1ubuntu2.18

Nextcloud version: 29.0.4

Virsacer avatar Jul 26 '24 23:07 Virsacer

hi @Virsacer thank for your report.

about >> "Edit the file with the app and save it" -> which app ?

marinofaggiana avatar Jul 27 '24 10:07 marinofaggiana

Hi, thanks for your response.

I edit .xlsx with Excel obviously and for .txt I use EZText.

Actually the same happens when opening Excel directly and editing the file via the recently-used list. It directly syncs a 0 Byte file to my other devices without even having the Nextcloud App opened.

This is really annoying - I need to edit files in my Nextcloud multiple times per day and I dont always have my Windows-devices ready to do so...

Virsacer avatar Jul 27 '24 11:07 Virsacer

And just to be clear: When I try to open the file on the phone again it does not work because then it also has 0 Byte. I have to restore a previous version of the file on another device and sync it again.

Virsacer avatar Jul 27 '24 11:07 Virsacer

Same issue here with 3rd party PDF editors when using iPadOS's Files integration to open files from Nextcloud. I had to downgrade to 5.4.0 through TestFlight.

iPadOS 17.5.1 ~ PHP 8.2.5 ~ other specs are identical

m3g33 avatar Jul 27 '24 16:07 m3g33

App version 5.5.1.0 seems to have fixed the problem Thanks

Virsacer avatar Jul 30 '24 05:07 Virsacer