current-flag is not set

Bug #599580 reported by sadam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TAC Energy
Confirmed
High
Unassigned

Bug Description

The boolean "current" of a product is NOT set to true, when competition time and starttime of product match ( "when the product is consumed").
I encountered this bug for all products but one: Only for the very first product, current has the value true, when it is consumed.
This makes it hard to determine, if/when a product is consumed.

Changed in tacenergy:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Daniel Schnurr (danielschnurr) wrote :

Thank's for reporting.

We have to discuss whether the server should send an update notification while updating the current flag or if the client should update the current flag locally if he receives the start/stop product notification respectively the competition time notification.

If you need this functionality for your agent now you can easily implement an update operation of the current flag in the onProductUpdateReceived or in the onCompetitionTimeReceived method.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.