current-flag is not set
Bug #599580 reported by
sadam
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 |
To post a comment you must log in.
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 onProductUpdate Received or in the onCompetitionTi meReceived method.