Skip to content

fix: Various errors & 500 error on duplicate url when editing#9731

Merged
keithwillcode merged 1 commit intomainfrom
bugfix/fix-500-error-on-event-type-duplicate-url
Jun 23, 2023
Merged

fix: Various errors & 500 error on duplicate url when editing#9731
keithwillcode merged 1 commit intomainfrom
bugfix/fix-500-error-on-event-type-duplicate-url

Conversation

@emrysal
Copy link
Copy Markdown
Contributor

@emrysal emrysal commented Jun 22, 2023

What does this PR do?

Fixes 500 error in logs, return human readable error; as well as various other translation related error messages.

@emrysal emrysal requested a review from keithwillcode June 22, 2023 22:50
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 10:56pm
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 10:56pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 10:56pm
web-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 10:56pm

@github-actions
Copy link
Copy Markdown
Contributor

Thank you for following the naming conventions! 🙏

@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Jun 22, 2023

Current Playwright Test Results Summary

✅ 114 Passing - ⚠️ 3 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 06/22/2023 10:59:58pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 7b32b77

Started: 06/22/2023 10:57:49pm UTC

⚠️ Flakes

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Routing Link - Reporting and CSV Download
Retry 2Retry 1Initial Attempt
2.64% (6) 6 / 227 runs
failed over last 7 days
22.03% (50) 50 / 227 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests user -- new-booker can add multiple organizer address
Retry 1Initial Attempt
0.29% (1) 1 / 348 run
failed over last 7 days
19.25% (67) 67 / 348 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should be able to reschedule
Retry 1Initial Attempt
21.79% (51) 51 / 234 runs
failed over last 7 days
74.79% (175) 175 / 234 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Copy Markdown
Contributor

@keithwillcode keithwillcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Tested saving all sorts of event type changes and tested changing slugs to already-existing event type slug. No more 500s. Error shown to the user saying it would be a duplicate.

@keithwillcode keithwillcode merged commit 52936f6 into main Jun 23, 2023
@keithwillcode keithwillcode deleted the bugfix/fix-500-error-on-event-type-duplicate-url branch June 23, 2023 05:03
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants