owncloud / ios-app

📱The all-new iOS app for ownCloud
https://owncloud.org/news/new-ios-app-ready-public-app-store/
GNU General Public License v3.0
213 stars 121 forks source link

[BUG] "Share to ownCloud" from Share sheet no longer works #1168

Open workflowsguy opened 1 year ago

workflowsguy commented 1 year ago

If you found a bug:

I can no longer export images from the Photos app to ownCloud through the Share sheet function

Steps to reproduce

  1. select images in the Photos app
  2. press the "share sheet" icon and select "ownCloud" in the row of app suggestions

Expected behavior

the option to select the ownCloud folder to export to should appear reliably and on first try

Actual behavior

When this issue first occured, a window with the title "Share with ownCloud" and a "Cancel" button appeared. The rest of the window is gray and looks like an extremely blurred image. I had to press "Cancel" and do the export steps a second time. Then the ownCloud folder selection window would appear and I could select the folder to export to.

Now, this "try again" approach no longer works. A different "Share with ownCloud" window with the "Cancel" button appears. This has the additional text "Save file" in white on black background, but there are no folders to select. When I press "Cancel", the window with the gray blurred background mentioned above appears.

I force-quit ownCloud, but this does not resolve the issue.

Client

iOS version: 15.7 ownCloud app version: 11.11.0 build 229 Device model: iPhone 6s+

Server configuration

ownCloud 10.10.0.0 for QNAP

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Tell us what could be improved:

An error message that might help with diagnosing the issue

hosy commented 1 year ago

@workflowsguy thank you for submitting the issue. Please can you open the ownCloud app and check, if the app is connected to your ownCloud server and if the file list will be shown correctly? Furthermore it would be great if you can submit a screenshot and log files from the app settings.

workflowsguy commented 1 year ago

Hello @hosy ,

while sharing a file through share sheet would show the mentioned issues, opening the app itself correctly display the connection to the server and all the shared folders. But afterwards trying again to use the share sheet still produced the issue.

Here are the screenshots you wanted: ownCloud Share Sheet issue 1 ownCloud Share Sheet issue 2

This morning, I had to reboot the iPhone because of a seemingly unrelated issue (Phone would not connect to Mobile Service Provider). Now, sharing files to ownCloud via share sheet works correctly again.

Because I had logging disabled in ownCloud, I currently do not have a log file to attach. If the issue reappears, I will generate one and append it to this thread.

Thanks!