human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Bug: Inventory levels by date with read_events enabled doesn't work before snapshot

Open cielf opened this issue 1 year ago • 0 comments

Summary

The inventory levels by date does not work properly if read_events is enabled

Why fix

continuity of service

Details

Note: we can only really see the problem on a copy of prod -- I recommend this be core team issue for that reason

what we want

When using event sourcing (i.e. for now, when read_events is enabled) If the date chosen is before the snapshot, use the inventory level version at the date else use the event sourcing way of calculating the inventory levels at the date

Criteria for completion

  • [ ] Functionality as described above
  • [ ] Tests of functionality as described above

cielf avatar Jun 09 '24 14:06 cielf