[
https://issues.apache.org/jira/browse/ATLAS-5169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18048709#comment-18048709
]
ASF subversion and git services commented on ATLAS-5169:
--------------------------------------------------------
Commit 3fdd844ee02954241523c0f71d188fc8531684de in atlas's branch
refs/heads/atlas-2.5 from Prasad Pawar
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=3fdd844ee ]
ATLAS-5169: Atlas UI creates multi-valued Business Metadata with SINGLE
cardinality (#492)
( cherry-picked from 30244d7107302db513dc2d54c1c19345dc9e340b)
> Atlas UI creates multi-valued Business Metadata with SINGLE cardinality
> -----------------------------------------------------------------------
>
> Key: ATLAS-5169
> URL: https://issues.apache.org/jira/browse/ATLAS-5169
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Affects Versions: 3.0.0
> Reporter: Sheetal Shah
> Assignee: Prasad P. Pawar
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, during *Business Metadata create/edit* operations, the API request
> always uses *SINGLE* cardinality for attributes, regardless of the UI
> selection. This limits the ability to correctly define multi-valued
> attributes.
> The UI should support configuring *cardinality* based on the *Enable multiple
> values* option, allowing users to choose between {*}SINGLE{*}, {*}SET{*}, and
> *LIST* where applicable.
> h3. Expected Behavior
> * When *Enable multiple values* is {*}unchecked{*}:
> ** Attribute cardinality should be set to:
> {{cardinality: "SINGLE"}}
> * When *Enable multiple values* is {*}checked{*}:
> ** Default cardinality should be:
> {{cardinality: "SET"}}
> ** If the user toggles the option, cardinality should change to:
> {{cardinality: "LIST"}}
> h3. Impact
> This change will ensure that the API request accurately reflects the user’s
> selection in the UI and enables proper support for multi-valued Business
> Metadata attributes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)