Merge lp:~urbanape/bindwood/fix-lp461371 into lp:bindwood

Proposed by Zachery Bir on 2009-10-26
Status: Merged
Approved by: Tim Cole on 2009-10-27
Approved revision: 18
Merged at revision: not available
Proposed branch: lp:~urbanape/bindwood/fix-lp461371
Merge into: lp:bindwood
Diff against target: 12 lines
1 file modified
content/sync.js (+1/-1)
To merge this branch: bzr merge lp:~urbanape/bindwood/fix-lp461371
Reviewer Review Type Date Requested Status
Tim Cole (community) Approve on 2009-10-27
Stuart Langridge (community) 2009-10-26 Approve on 2009-10-27
Review via email:

Commit message

Fix a typo that prevents Bindwood from properly propagating change notifications to CouchDB.

To post a comment you must log in.
Zachery Bir (urbanape) wrote :

This branch fixes a silly typo that keeps Bindwood from properly propagating change notifications to CouchDB.

Zachery Bir (urbanape) wrote :

If you want to test, install latest trunk, make a change to a local bookmark, and watch it fail to propagate to CouchDB. A little while later, watch as the local bookmarks is reverted from its Couch record.

In this branch, the change is properly propagated to Couch.

Stuart Langridge (sil) wrote :

Good catch; works for me. Approved.

review: Approve
Tim Cole (tcole) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'content/sync.js'
2--- content/sync.js 2009-10-23 16:55:55 +0000
3+++ content/sync.js 2009-10-26 20:10:23 +0000
4@@ -886,7 +886,7 @@
5 // A property of a bookmark has changed. On multiple
6 // property updates, this will be called multiple times,
7 // once per property (i.e., for title and URI)
8- if (!Bindwood.itemWeCareAbout(aItemId)) {
9+ if (!Bindwood.itemWeCareAbout(aBookmarkId)) {
10 Bindwood.writeMessage("Ignoring this change event");
11 return;
12 }


People subscribed via source and target branches