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

failedTest811 #522

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

failedTest811 #522

wants to merge 5 commits into from

Conversation

SebaMutuku
Copy link
Contributor

@SebaMutuku SebaMutuku commented Dec 2, 2021

Resolved issue 811 (Case triggered plan generation logic )
Before you use clientFormRepository.get() function, check if the ID passed in a valid long with id = id.matches(".[a-zA-Z]+.") if not, you can return an http error to the caller that value passed is not a valid long or default to a string can never be found on the db e.g id = id.matches(".[a-zA-Z]+.") ? "00000000000000000" : id;

Copy link
Contributor Author

@SebaMutuku SebaMutuku left a comment

Choose a reason for hiding this comment

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

Codacy update

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.

1 participant