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(decline): moved email validation in decline application process api #822

Conversation

dhiren-singh-007
Copy link
Contributor

Description

Moved the validation of blank or null comment from child method to parent method.
fixes #820 closes #820

Why

There is a required validation on the comment field at a later stage in this API. Before this, the code makes a call to Keycloak to delete the client for this company.
If we call this API with a blank comment, it throws an exception after deleting the data from Keycloak.
and after that its impossible to cancel the application process

Issue

#820

Checklist

Please delete options that are not relevant.

  • I have followed the contributing guidelines
  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes

@Phil91 Phil91 merged commit e1e9780 into eclipse-tractusx:release/v2.1.0-RC1 Jul 4, 2024
10 checks passed
@dhiren-singh-007 dhiren-singh-007 deleted the fix/820-fix-email-validation branch July 4, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants