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

Fixed #11827 Throw exception when there are no available seats for checkout. #11857

Conversation

inietov
Copy link
Collaborator

@inietov inietov commented Sep 21, 2022

Description

If no available License Seats are found in LicenseCheckoutController::findLicenseSeatToCheckout() function, for some reason the return redirect() statements aren't redirecting but returning an object of type HttpResponse. So I found another way to make the redirect.

Looks kind of gross... but it works now. Let me know if you think it can be done better.

Fixes #11827

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Test Configuration:

  • PHP version: 8.1.10
  • MySQL version: 8.0.23
  • Webserver version: nginx/1.19.8
  • OS version: Debian 10

Checklist:

@snipe snipe merged commit d91d226 into snipe:develop Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants