Alfresco / alfresco-ios-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

syncContentPath in local sqlite might point to wrong file after App update/reinstall

escv opened this issue · comments

Hi,
i get some strange errors when reinstalling the AlfrescoApp (to device and emulator).
I have some files and folders in a 'favorite-sync'. When a new app instance was installed to the device, a new app id will be used as part of the installation path (for example /var/mobile/Applications/1F8DD40B-3DD7-4E7F-85F6-27438755416C/Documents...). It looks like iOS will then migrate the contents of the Documents folder to the new filepath destination. Here, also the the CoreData sqlite files are moved. Unfortunately, the contents of the SyncNodeInfo tables (syncContentPath field) using an absolute file path which now seems to not exists anymore. After each app updates all the files in the "Synchronized Files" view are not openable. Is it possible to store the syncContentPath relative to the app Documents folder?

Thanks for the bug report. I've copied your issue to our JIRA issue tracking database as MOBILE-3087.