forrestguice / plasma-wateriv

Automatically exported from code.google.com/p/plasma-wateriv
1 stars 1 forks source link

timeseries_count incorrectly reset to 0 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Request a source from the engine with network connected.
2. Disconnect the network.
3. Request an update of the source from the engine.

What is the expected output? What do you see instead?

The timeseries_count field should retain any previous values so plasmoids can 
continue to display the previously downloaded data. Instead the field is reset 
to 0 on every network error making the data inaccessible.

Original issue reported on code.google.com by forrestg...@gmail.com on 7 Apr 2012 at 10:03

GoogleCodeExporter commented 9 years ago
The field is set to 0 on network errors so plasmoids always have access to that 
key regardless of network availability.

To fix: it should only be set to 0 if a previous value does not already exist.

Original comment by forrestg...@gmail.com on 7 Apr 2012 at 10:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r56.

Original comment by forrestg...@gmail.com on 7 Apr 2012 at 10:56