Signal to handle sync failure
Bug #1210450 reported by
Cris Dywan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB Qt/ QML |
Triaged
|
Medium
|
Cris Dywan |
Bug Description
(This is a bug from the future, it will make sense once the sync branch has landed)
There needs to be a way to deal with sync errors. It may have failed temporarily (network disabled), it may have failed because the server is invalid, or due to wrong authentication. There're probably more. So we need something like syncFailed(why) with an enum.
Related branches
lp:~kalikiana/u1db-qt/syncWithU1
On hold
for merging
into
lp:u1db-qt
- PS Jenkins bot: Approve (continuous-integration)
- U1DB Qt developers: Pending requested
-
Diff: 1664 lines (+934/-295)13 files modifieddebian/control (+2/-0)
examples/notes-cloud/notes-cloud.qml (+267/-148)
modules/U1db/plugin.cpp (+2/-0)
src/CMakeLists.txt (+5/-1)
src/database.cpp (+10/-0)
src/database.h (+1/-1)
src/request.cpp (+87/-0)
src/request.h (+77/-0)
src/server.cpp (+94/-0)
src/server.h (+67/-0)
src/synchronizer.cpp (+204/-137)
src/synchronizer.h (+21/-8)
tests/tst_sync.qml (+97/-0)
Moving to U1DB-QT Milestone 2.0 to first focus on issues related to querying and filtering. Sync with U1 is a feature we can come to at a later point.