Web sync getting all notes twice

View: New views
1 Messages — Rating Filter:   Alert me  

Web sync getting all notes twice

by Cornelius Hald :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

the last days I was working again on the communication between Conboy
and Snowy. For debugging reasons I had to do some network sniffing and
it looks to me like there is maybe a small bug in Tomboy. It might also
be that I just misunderstood something, so here is what I observed.

The communication between Tomboy (0.15.4) and Snowy is like this:

Request 1
> GET /api/1.0/ HTTP/1.1
< api-ref, etc...

Request 2
> GET /api/1.0/root/ HTTP/1.0
< api-ref, last-sync-revision, etc...

Request 3
> GET /api/1.0/root/notes/?include_notes=true&since=123 HTTP/1.0
< notes array with content, etc...

Request 4
> GET /api/1.0/root/notes/ HTTP/1.0
< notes array without content, etc...

Request 5
> GET /api/1.0/root/notes/ HTTP/1.0
< notes array without content, etc... [again]

Request 6
> PUT /api/1.0/root/notes/ HTTP/1.0 [changed notes array]
< all notes without content, etc...

The requests 4 and 5 are exactly the same, also the responses are the
same. The only difference between the two are different oauth headers.
I've not looked at the code, so I don't know if this is intentional and
I'm just missing something or if this would be a bug.

Just thought I let you know, maybe someone wants to look into it.

Cheers!
Conny


_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com