-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Persist
io.cozy.files.shortcuts
even if they have a meta.rev
`io.cozy.files.shortcuts` doctype does not exist in Couch database This doctype is created by cozy-stack from `io.cozy.files` documents This has two impact: - First, we cannot call `PouchDB.replicate` on this doctype as it does not actually exist - Second, `io.cozy.files` documents have a `meta.rev` attributes that is included into the interpolated `io.cozy.files.shortcuts` one. So the virtual documents persistance mechanism is not triggered So with actual implementation we cannot persist `io.cozy.files.shortcuts` for offline usage To make it possible, we want to enforce virtual documents persistance for this doctype even if it has a `meta.rev` attribute
- Loading branch information
Showing
2 changed files
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters