owncloud / ios-legacy

:iphone: iOS app for ownCloud
https://itunes.apple.com/app/owncloud/id543672169
GNU General Public License v3.0
623 stars 686 forks source link

iOS 12 #1067

Open jesmrec opened 6 years ago

jesmrec commented 6 years ago

This issue will be a container to get all ideas - tests over iOS12 before the official launch.

Tasks to do:


jesmrec commented 6 years ago

(1)

Steps:

  1. Set a folder as available offline
  2. Pull down to refresh

Current: folder loses the av. offline Expected: folder is av. offline

iPhone6SPlus iOS12 beta5

jesmrec commented 6 years ago

(2)

Steps:

  1. Set a file as av offline
  2. Pull down to refresh
  3. Pull down again to refresh

Current: 2. File is not av. offline, only downloaded. 3. File is neither av. offline nor downloaded Expected: file is av. offline

iPhone6SPlus iOS12 beta5

jesmrec commented 6 years ago

Regarding (1) and (2), the problem seems to be in the way the data is fetched from DB or the comparison with files_backup. I noticed these logs in XCode:

2018-08-08 12:49:07.076717+0200 Owncloud iOs Client[9522:318419] <0x1096617e0 ManageFilesDB.m:(731)> currentFile.idFile: 0 .... 2018-08-08 12:49:07.079847+0200 Owncloud iOs Client[9522:318419] <0x1096617e0 ManageFilesDB.m:(682)> files share source = 0 2018-08-08 12:49:07.080040+0200 Owncloud iOs Client[9522:318419] <0x1096617e0 ManageFilesDB.m:(683)> currentFile.idFile: 0 2018-08-08 12:49:07.095286+0200 Owncloud iOs Client[9522:318419] <0x1096617e0 ManageFilesDB.m:(684)> currentFile.etag: (null) 2018-08-08 12:49:07.095472+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'f.id'. 2018-08-08 12:49:07.095608+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.etag'. 2018-08-08 12:49:07.095698+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.is_necessary_update'. 2018-08-08 12:49:07.095819+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.is_download'. 2018-08-08 12:49:07.095911+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.shared_file_source'. 2018-08-08 12:49:07.096199+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.permissions'. 2018-08-08 12:49:07.096586+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.task_identifier'. 2018-08-08 12:49:07.146916+0200 Owncloud iOs Client[9522:318419] Warning: I could not find the column named 'b.providing_file_id'.

files are downloaded in the app sandbox correctly, but with the performance of (1) and (2), columns is_download | is_favorite switch to 0 , meanwhile in files_backuptable is_download keep the 1

jesmrec commented 6 years ago

With SAML beta5 works fine. Checked in cases of session expiration.

soydepr commented 6 years ago

Would like to add that adding calendar via Caldav in iOS 12 beta is not working Works fine in 11.4.1. In 12 authentication fails or not found

michaelstingl commented 6 years ago

@soydepr this issue is about the ownCloud iOS app. Please open a new one in the calendar repository: https://github.com/owncloud/calendar/issues