Skip to content

fix: 500-error-when-user-has-no-schedules#27940

Open
hemantmm wants to merge 1 commit intocalcom:mainfrom
hemantmm:500-error-when-user-has-no-schedules
Open

fix: 500-error-when-user-has-no-schedules#27940
hemantmm wants to merge 1 commit intocalcom:mainfrom
hemantmm:500-error-when-user-has-no-schedules

Conversation

@hemantmm
Copy link
Contributor

closes: #20800

What does this PR do?

Updated ScheduleRepository.findManyDetailedScheduleByUserId to return an empty array when no schedules exist.
Preserved existing permission checks.
Prevents server crashes for users without schedules.

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Feb 13, 2026
@github-actions github-actions bot added foundation High priority Created by Linear-GitHub Sync Stale 🐛 bug Something isn't working labels Feb 13, 2026
@graphite-app
Copy link

graphite-app bot commented Feb 13, 2026

Graphite Automations

"Send notification to Community team when High Priority PR opened" took an action on this PR • (02/13/26)

2 teammates were notified to this PR based on Keith Williams's automation.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

@github-actions github-actions bot removed the Stale label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working community Created by Linear-GitHub Sync foundation High priority Created by Linear-GitHub Sync size/M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix 500 error cause: "No schedules found".

1 participant