Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cal.com incorrectly detects Round Robin & Managed events as having the same URLΒ #28190

@TonyValenti

Description

@TonyValenti

Found a bug? Please fill out the sections below. πŸ‘

Issue Summary

Round-Robin events and Managed events use different URL templates but you cannot have two with the same URL suffix.

Steps to Reproduce

Create a managed event with the title "Migration Consultation". Cal.com will suggest/generate a URL for it like this:
https://cal.com/username/migration-consultation

Now, create a round-robin even with the title "Migration Consultation". Call will suggest/generate a URL for it like this:
https://cal.com/team/universal-migrator/migration-consultation

You can see that that the URLs are different even though they do have the same last-segment. However, when trying to save, you get this error:
BAD_REQUEST: an event type with this URL already exists.

Actual Results

You incorrectly get the error BAD_REQUEST: an event type with this URL already exists.

Expected Results

Creation should succeed

Technical details

I believe that when checking for a conflicting meeting type, cal.com is only looking at the last part of the URL and not considering that there are different URL templates based on the event type.

Evidence

I followed the above steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions