Skip to content

Business API: (Amalgamation Application - Regular) Add Minimum Share Classes Validation #32907

@meawong

Description

@meawong

Description:

As an API user posting a regular amalgamation application, I want to get appropriate validation errors if I submit a share structure with no share classes, so that the resulting business is never created without an authorized share structure.

On the frontend, at least one share class is required for regular amalgamations — submission is blocked if none are present. The backend allows an empty array to be posted for share classes.

QA Notes

  • Ensure regression of regular amalgamation application through the frontend — at least one share class continues to be required
  • Posting a regular amalgamation application with at least one valid share class through the API works as expected
  • Posting a regular amalgamation application with shareStructure: { shareClasses: [] } causes the API to return an appropriate error

Metadata

Metadata

Assignees

Labels

Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions