finos / finos/cdm-object-builder

Cannot add multiple enum values when enum has multi-cardinality

Open
#131 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13
Forks
5
Avg merge
1h 53m
Merged PRs (30d)
2

Description

## Bug Report

### Steps to Reproduce:
1. Navigate to an enum with multiple cardinality in the Object Builder
`LegalAgreement -> agreementTerms -> agreement -> creditSupportAgreementElections -> conditionsPrecedent -> specifiedCondition -> partyElection -> specifiedCondition`
3. Try and add more than 1 value
Image

### Expected Result:
There should be some mechanism to add multiple values in an enum with multiple cardinality

For multiple cardinality enums, you should be able to add multiple using an add button, or repeating the tile in the object builder.
Image

### Actual Result:
Only 1 value can be selected from the dropdown.

### Environment:
CDM-JAVA7.0.0-dev.37

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Object Builder using the LegalAgreement path described in the report, then trace the enum field's cardinality and selection UI. Done means a multi-cardinality enum can accept more than one value through an add control or repeated tile, while single-cardinality behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.