aprsworld / wsWebDisplay

0 stars 0 forks source link

North Bend Yard sometimes ends up with all the stations in the tree as children elements #109

Open Cdetviler opened 8 years ago

Cdetviler commented 8 years ago

I have not been able to reproduce this issue.

I loaded up wsWebDisplay and let it sit for about 10 minutes to see if the tree would populate with incorrect data. It did not. I also loaded up a configuration and checked the tree and it did not populate with incorrect data.

I'll keep a few instances of webDisplay loaded today and see if I can reproduce it.

Cdetviler commented 8 years ago

This is bug actually happens with all stations. The source of the problem is wsWebDisplay coming back from hibernation. I specifically made it so that it will request all data upon coming back from hibernation - this is so the tree populates itself with any new stations and lets the old stations expire. Unfortunately this initial full date update is treated as a partial update.

I have fixed this by having it check to see if the objectkey is 'bserver' but that is not an optimal solution. It would be nice if there was a way to tell between full data updates and partial data updates. I'm going to try to think of a better solution.