rymghosn opened a new pull request, #6245:
URL: https://github.com/apache/fineract/pull/6245
Submitting a Tax Group without any tax components previously failed only on
the generic integerGreaterThanZero check, without a clear message.
This adds an explicit validation error
(validation.msg.at.least.one.tax.component.required) with a user-friendly
message ("Please add at least
one Tax Component before submitting the Tax Group.") when the
taxComponents array is empty.
Added an integration test
(TaxesTest#createTaxGroupWithoutTaxComponent_shouldReturnValidationError)
covering the new validation path.
PR:(https://issues.apache.org/jira/browse/FINERACT-2748)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]