# Bug MEET-302 - ActiveRecord::RecordNotUnique on RecurringMeetingsController#update

Project: Stream Meetings
Status: closed
URL: https://community.openproject.org/work_packages/MEET-302

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Meetings |
| Target versions | 15.5.1 |
| Observed in versions | 15.4.0 |
| Bug found in version (deprecated) | 15.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Unclear (AppSignal report)
    

### What is the buggy behavior?

*   Unclear (AppSignal report)
    

### What is the expected behavior?

1.  Unclear (AppSignal report)
    

### **Logs**

```text
PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "unique_recurring_meeting_start_time"
DETAIL:  Key (recurring_meeting_id, start_time)=(?) already exists.
```

<figure class="table op-uc-figure_align-center op-uc-figure" style="width:1680px;"><table class="op-uc-table" style="border:0px solid rgb(217, 221, 231);"><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">lib/open_project/mutex.rb:62 OpenProject::Mutex.with_advisory_lock_transaction</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/shared/service_context.rb:44 Shared::ServiceContext#in_mutex_context</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/shared/service_context.rb:35 Shared::ServiceContext#in_context</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/base_services/base_contracted.rb:54 BaseServices::BaseContracted#service_context</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/base_services/base_contracted.rb:59 BaseServices::BaseContracted#perform</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/base_services/base_callable.rb:40 block in BaseServices::BaseCallable#call</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/concerns/with_reversible_state.rb:53 BaseServices::BaseCallable#assign_state</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">app/services/base_services/base_callable.rb:39 BaseServices::BaseCallable#call</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p">modules/meeting/app/controllers/recurring_meetings_controller.rb:113 RecurringMeetingsController#update</p></td><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 1.25rem 0.5rem 0.625rem;"><p class="op-uc-p"><br></p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell" style="border-bottom-width:1px;border-color:inherit;border-left-width:0px;border-right-width:0px;border-top-width:0px;padding:0.5rem 0.625rem 0.5rem 1.25rem;"><p class="op-uc-p"><br></p></td><td class="op-uc-table--cell"><p class="op-uc-p"><br></p></td></tr></tbody></table></figure>

https://appsignal.com/openproject-gmbh/sites/673c529383eb67b55471dda2/exceptions/incidents/846
