Skip to content

failedTest811#522

Open
SebaMutuku wants to merge 5 commits intomasterfrom
failedTest811
Open

failedTest811#522
SebaMutuku wants to merge 5 commits intomasterfrom
failedTest811

Conversation

@SebaMutuku
Copy link
Copy Markdown
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
Copy Markdown
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