Skip to content

don't update an activity if it was deleted#1072

Merged
themarolt merged 3 commits intomainfrom
bugfix/existing-activity-wrong-member-fix
Jul 4, 2023
Merged

don't update an activity if it was deleted#1072
themarolt merged 3 commits intomainfrom
bugfix/existing-activity-wrong-member-fix

Conversation

@themarolt
Copy link
Copy Markdown
Contributor

@themarolt themarolt commented Jul 4, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 33f55cd

Prevent updating existing activities in ActivityService. Add a check for the create flag in activity.service.ts to avoid overwriting activities that are already created by another workers.

🤖 Generated by Copilot at 33f55cd

create is false
avoid updating old activity
autumn concurrency

Why

We updated the activity we just deleted because of member mismatch.

How

🤖 Generated by Copilot at 33f55cd

  • Prevent updating an existing activity if the create flag is false (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@themarolt themarolt added the Bug Created by Linear-GitHub Sync label Jul 4, 2023
@themarolt themarolt requested a review from garrrikkotua July 4, 2023 11:18
@themarolt themarolt merged commit cdf7d30 into main Jul 4, 2023
@themarolt themarolt deleted the bugfix/existing-activity-wrong-member-fix branch July 4, 2023 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants