openMF / web-app

Mifos X Web App is the revamped version of the Mifos X Community App built on top of the Fineract Platform leveraging the popular Angular framework.
https://openmf.github.io/web-app/
Mozilla Public License 2.0
230 stars 533 forks source link

New Data Tables Creation not working #1402

Closed bharathcgowda closed 2 years ago

bharathcgowda commented 2 years ago

Description

New Data Tables Creation not working

Steps to Reproduce

  1. go to admin->systems->manage data tables
  2. click 'create data table, add all the fields and click on submit

Screenshots, if any

image

adamsaghy commented 2 years ago

Observation Seems Fineract would like to get one more parameter: "entitySubType"

Here is the error message: defaultUserMessage: "Validation errors exist." developerMessage: "The request was invalid. This typically will happen due to validation errors which are provided." errors: [{developerMessage: "The parameter entitySubType is mandatory.",…}] 0: {developerMessage: "The parameter entitySubType is mandatory.",…} httpStatusCode: "400" userMessageGlobalisationCode: "validation.msg.validation.errors.exist"

Reason If the "Application Table Name" is Client, there must be providing an another entry (entitySubType) which shall decide the client is a Person or a Non-Person (Entity). https://issues.apache.org/jira/browse/FINERACT-1375

Proposed solution If "CLIENT" is the selected application table, on the UI an extra field should to be added where it can be selected whether the client is a PERSON or an ENTITY.

adamsaghy commented 2 years ago

Fixed