aktin / aktin/dwh-admin

Bug with Concurrent Series Requests in DWH Manager: Requests Remain "Pending Approval"

未關閉
#5 0 則留言 0 個 reaction 已指派 1 人 已被 @simhue 認領 在 GitHub 檢視
bug
主要語言
TypeScript
星號
0
分支
0
平均合併
7 天 3 小時
30 天內合併 PR
2

描述

A bug occurs when two series requests are scheduled simultaneously, and the later request is approved before the earlier one. Following the sequence below results in both requests remaining in a "pending approval" state, despite being approved:

**Steps to Reproduce**
1. Schedule Series Request xy1:
- Planned execution: 2.1.20xx
- Reference date: 1.1.20xx

2. Schedule Series Request xy2:
- Planned execution: 2.2.20xx
- Reference date: 1.2.20xx

3. In the DWH Manager:
- Approve Series Request xy2 first.
- Then approve Series Request xy1.

**Observed Behavior**
* Both requests remain displayed as "Pending Approval" even after being approved.
* Clinics encounter delays and are unable to execute the queries as expected.

**Workaround**
* Clinics can manually resolve this issue by selecting the affected requests and disabling the "Series Approval" tab. This allows the requests to proceed, and subsequent series requests seem to execute without issue.

**Acceptance Criteria**
* Requests should automatically update to "Approved" status upon approval, regardless of the order in which they are approved.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。