cs2103aug2014-w10-4j / main

ChirpTask
3 stars 1 forks source link

Content of LocalStorage.getAllTasks is changed without warning during sync phase three #107

Closed newbishme closed 9 years ago

newbishme commented 9 years ago

@cs2103aug2014-w10-4j/developers please try to help debug. i've tested for quite some time and I'm still unsure why it happens.

List allTasks -> despite some tasks having isModified = true, this value gets lost and gets set to isModified=false during syncphasethree() in ConcurrentSync in Google Component.

pyonghe commented 9 years ago

Not too sure about this maybe you want to give us the workflow as to what causes this bug. @cs2103aug2014-w10-4j/developers take note of this issue.

newbishme commented 9 years ago

ok sorry i might know where the problem lie at now. Will fix it when I can. problem is contained in google component.

newbishme commented 9 years ago

Done!

HaLinhh commented 9 years ago

Great! ^^ What was wrong?

newbishme commented 9 years ago

I was silly to not consider that the flow of the previous syncs screwed up my data. so i was stuck in a "while loop" for quite some time. Reordering the syncs fixed it :)