paulwinterbauer / NBIC

NBIC ballast water report processing app
1 stars 0 forks source link

Investigate Multiple post-review responses being created #527

Open paulwinterbauer opened 9 months ago

paulwinterbauer commented 9 months ago

Causes report to get stuck in the responder. May be due to application restarting during response creation.

Adding debug statement after response creation (in create_post_responses function) if more than one, look for reports with multiple responses and check against log...

paulwinterbauer commented 9 months ago

Select report_id, Count(*) From responses Where type in ('post_review', 'manual') Group By report_id Having Count(*) > 1