ios-legacy
ios-legacy copied to clipboard
[BUG] MS Word "Recents" tab do not open a previous open document
If you found a bug:
Recent documents open on the Document Provider at Microsoft Word can not be open from the "Recents" tab on MS Word.
Steps to reproduce
- Open a document on MS Word on iOS
- Save the document after made some change
- Try to open the same document again from the "Recents" tab on MS Word
Expected behaviour
The document should be open
Client
3.5.2
ownCloud app version:
Device model: iPhone 6 plus
More Info
I checked the issue and the behavior of the Document Provider is: 1- Download the original file 2- Duplicate the original file as a temporal file on a Sandbox where Word can work 3- Edit the file with Word 4- Overwrite the original file with the temporal one 5- Add the new file to the "Upload queue". 6- Delete the temporal file
The problem happens when Word try to access to the temporal file again. But we have to delete it because if we do not do that the user could access to an old document because maybe the user modify in other computer or device. When word try to access to the file again we just have an URL like this one: file:///private/var/mobile/Containers/Shared/AppGroup/1B9F43A2-3A3B-466C-8F00-62F6E17EA059/File%20Provider%20Storage/file_7fa6e92ad461f8139283dc866174cf0b/Para%2520empezar%2520ahora%2520mismo.docx
With that information we can not re-download again the file to have it updated. Because there is not any reference to it. We can continue working on this issue but you have to know that it is not trivial and probably we have to change how our Document Provider store the documents in order to have any reference to the old file to re-download it again.
MS Office also provides cloud storage providers better integration opportunities, but I don't know if (branded versions of) ownCloud are able to comply with their requirements: https://dev.office.com/programs/officecloudstorage. For technical requirements regarding iOS, see: https://wopi.readthedocs.io/projects/officewopi/en/latest/wopi_requirements.html#requirements
Service providers like SURF or Sciebo could apply for integration, or ownCloud would need to run a central infrastructure where distributed individual ownCloud instances could connect to become integrated as cloud storage provider. (https://owncloud.foundation/ ?)
Yes @CorneelDragon ownCloud and branded versions can be used as document providers of MS Word. This is a concrete issue.
Hi, any updates or a timeline yet?
@CorneelDragon not yet. "Becoming MS Office cloud storage provider" is nothing that can be solved in the iOS repo.
@CorneelDragon In iOS11, Word uses also the Files app integration. This looks more promising, and we are working on the best Files app integration possible.
please check my comment here: https://github.com/owncloud/ios/issues/1038#issuecomment-374165166