- 🇩🇪Germany Anybody Porta Westfalica
Can someone please confirm this issue still exists and perhaps write a test for the case of an order deletion?
The refresh (regenerate) function deletes and regenerates report records for existing orders but does not delete report records for orders that no longer exist - so these confuse the report View.
public function refreshReports(array $order_ids, $plugin_id = NULL) {
// Delete any existing reports.
could just delete everything - or an event listener is needed to catch order deletions
Active
1.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Can someone please confirm this issue still exists and perhaps write a test for the case of an order deletion?