Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #19296 Success pages shows wrong nr of occurrences (recurring booking) #19304

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

PAVANNAIK25
Copy link
Contributor

What does this PR do?

Loom Video: https://www.loom.com/share/56386d96f91c4104abc11a4ceba27ca1?sid=93fdc459-4cc2-4451-ae54-bfe9dfab8725

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. N/A
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Are there environment variables that should be set?
    • No
  • What are the minimal test data to have?
    • You must have at least one recurring event with to book. It must be requires confirmation toggle on.
  • What is expected (happy path) to have (input and output)?
    • Booking is successful with list of occurrences.
  • Any other important info that could help to test that PR
    • Please refer Loom video.

Copy link

vercel bot commented Feb 15, 2025

@PAVANNAIK25 is attempting to deploy a commit to the cal-staging Team on Vercel.

A member of the Team first needs to authorize it.

@graphite-app graphite-app bot requested a review from a team February 15, 2025 18:53
@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Feb 15, 2025
@github-actions github-actions bot added booking-page area: booking page, public booking page, booker Medium priority Created by Linear-GitHub Sync 🐛 bug Something isn't working labels Feb 15, 2025
Copy link
Contributor

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "fix #19296 Success pages shows wrong nr of occurrences (recurring booking)". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@dosubot dosubot bot added the bookings area: bookings, availability, timezones, double booking label Feb 15, 2025
@PAVANNAIK25 PAVANNAIK25 changed the title fix #19296 Success pages shows wrong nr of occurrences (recurring booking) fix: #19296 Success pages shows wrong nr of occurrences (recurring booking) Feb 15, 2025
Copy link

graphite-app bot commented Feb 15, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (02/15/25)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (02/15/25)

1 label was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (02/21/25)

1 label was added to this PR based on Keith Williams's automation.

@dosubot dosubot bot added this to the v5.1 milestone Feb 17, 2025
Copy link
Contributor

@TusharBhatt1 TusharBhatt1 left a comment

Choose a reason for hiding this comment

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

Can you add a loom to reproduce the issue

@PAVANNAIK25
Copy link
Contributor Author

Can you add a loom to reproduce the issue

Sure

@PAVANNAIK25
Copy link
Contributor Author

@TusharBhatt1
Copy link
Contributor

TusharBhatt1 commented Feb 19, 2025

Loom Video: https://www.loom.com/share/716fa3c8e0b649cfa9fc5b4f2e2946b6?sid=2efa5478-b8eb-4cd8-bfc8-4b841c483db0

Works well for me (had max - 12 , booked - 10 , got - 10 ) :

Screenshot (121)
Screenshot (120)

Or I am missing something

@PAVANNAIK25
Copy link
Contributor Author

Works well for me (had max - 12 , booked - 10 , got - 10 ) :

Screenshot (121) Screenshot (120)

Or I am missing something

No. It was issue on a success page. It worked correctly in your screenshot.

@TusharBhatt1
Copy link
Contributor

Thanks for the contribution , as witnessed it's already working as expected.

@dosubot dosubot bot modified the milestone: v5.1 Feb 19, 2025
@TusharBhatt1 TusharBhatt1 reopened this Feb 19, 2025
@TusharBhatt1
Copy link
Contributor

Issue when Required Confirmation is true , re reviewing

@TusharBhatt1
Copy link
Contributor

Works well for me (had max - 12 , booked - 10 , got - 10 ) :
Screenshot (121) Screenshot (120)
Or I am missing something

No. It was issue on a success page. It worked correctly in your screenshot.

@dosubot dosubot bot removed this from the v5.1 milestone Feb 19, 2025
@TusharBhatt1 TusharBhatt1 reopened this Feb 19, 2025
@dosubot dosubot bot added this to the v5.1 milestone Feb 19, 2025
@TusharBhatt1
Copy link
Contributor

Loom Video: https://www.loom.com/share/716fa3c8e0b649cfa9fc5b4f2e2946b6?sid=2efa5478-b8eb-4cd8-bfc8-4b841c483db0

While booking getting : 500 {"message":"Invalid key length"}
When clicking again getting : 409 {"message":"booking_conflicts"}

Something's off

@PAVANNAIK25
Copy link
Contributor Author

While booking getting : 500 {"message":"Invalid key length"} When clicking again getting : 409 {"message":"booking_conflicts"}

Something's off

The error is due to the email sending behavior. Once the booking is confirm it will send email to organizer to confirm booking.
Either you need to setup a email in local development or you can comment below code. It will work in production since there the email setup is there.

image

@TusharBhatt1
Copy link
Contributor

While booking getting : 500 {"message":"Invalid key length"} When clicking again getting : 409 {"message":"booking_conflicts"}
Something's off

The error is due to the email sending behavior. Once the booking is confirm it will send email to organizer to confirm booking. Either you need to setup a email in local development or you can comment below code. It will work in production since there the email setup is there.

image

Fine , but it has to be tested

Copy link
Contributor

@TusharBhatt1 TusharBhatt1 left a comment

Choose a reason for hiding this comment

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

Tested , work well !

@TusharBhatt1 TusharBhatt1 enabled auto-merge (squash) February 21, 2025 07:41
@TusharBhatt1 TusharBhatt1 enabled auto-merge (squash) February 21, 2025 07:51
@TusharBhatt1 TusharBhatt1 merged commit 4a6704c into calcom:main Feb 21, 2025
32 of 36 checks passed
Copy link
Contributor

E2E results are ready!

MuhammadAimanSulaiman pushed a commit to hit-pay/cal.com that referenced this pull request Feb 25, 2025
itsalam pushed a commit to itsalam/cal.com that referenced this pull request Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
booking-page area: booking page, public booking page, booker bookings area: bookings, availability, timezones, double booking 🐛 bug Something isn't working community Created by Linear-GitHub Sync Medium priority Created by Linear-GitHub Sync ready-for-e2e
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-5169] Success pages shows wrong nr of occurrences (recurring booking)
2 participants