Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: concurrency issue leading to duplicate attendance insertion #2041

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

ruchamahabal
Copy link
Member

Duplicate attendance records creation in a matter of milliseconds when 2 users concurrently try marking attendance from different tools.

@ruchamahabal
Copy link
Member Author

Not an ideal fix probably. Adding this as a temporary fix until I figure out a better one with replication

@ruchamahabal ruchamahabal merged commit b4db5ac into frappe:develop Aug 6, 2024
8 checks passed
mergify bot pushed a commit that referenced this pull request Aug 6, 2024
mergify bot pushed a commit that referenced this pull request Aug 6, 2024
ruchamahabal added a commit that referenced this pull request Aug 6, 2024
ruchamahabal added a commit that referenced this pull request Aug 6, 2024
frappe-pr-bot pushed a commit that referenced this pull request Aug 7, 2024
## [14.29.3](v14.29.2...v14.29.3) (2024-08-07)

### Bug Fixes

* concurrency issue leading to duplicate attendance insertion ([#2041](#2041)) ([#2042](#2042)) ([3411d7a](3411d7a))
* filter and bold issue in Salary Payments Based On Payment Mode (backport [#2025](#2025)) ([#2048](#2048)) ([0913976](0913976))
* filter in reports (backport [#1987](#1987)) ([#2044](#2044)) ([adeb482](adeb482))
* query in Provident Fund and Professional Tax Deductions reports (backport [#2026](#2026)) ([#2033](#2033)) ([617de87](617de87))
* rendering the email template subject in leave notification (backport [#2027](#2027)) ([#2046](#2046)) ([1e576fc](1e576fc))
* wrong compute of CTC on salary slip, if employee relieving date before end of payroll period. (backport [#1779](#1779)) ([#2053](#2053)) ([f8837e4](f8837e4))
frappe-pr-bot pushed a commit that referenced this pull request Aug 7, 2024
## [15.25.2](v15.25.1...v15.25.2) (2024-08-07)

### Bug Fixes

* bank entry reference in payroll (backport [#2037](#2037)) ([#2039](#2039)) ([432f977](432f977))
* concurrency issue leading to duplicate attendance insertion ([#2041](#2041)) ([#2043](#2043)) ([957537c](957537c))
* filter and bold issue in Salary Payments Based On Payment Mode (backport [#2025](#2025)) ([#2049](#2049)) ([46ed7be](46ed7be))
* filter in reports (backport [#1987](#1987)) ([#2045](#2045)) ([ac35324](ac35324))
* query in Provident Fund and Professional Tax Deductions reports (backport [#2026](#2026)) ([#2034](#2034)) ([8d056db](8d056db))
* rendering the email template subject in leave notification (backport [#2027](#2027)) ([#2047](#2047)) ([cd1bdc0](cd1bdc0))
* wrong compute of CTC on salary slip, if employee relieving date before end of payroll period. (backport [#1779](#1779)) ([#2054](#2054)) ([ddf4cdb](ddf4cdb))
* wrong translation of "Manual" ([1bdc836](1bdc836))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant