[
https://issues.apache.org/jira/browse/ATLAS-3693?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasad P. Pawar updated ATLAS-3693:
-----------------------------------
Affects Version/s: 3.0.0
> [Business Metadata] Unable to add negative values in multi-valued attributes
> for byte, short, int, long, float, double
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: ATLAS-3693
> URL: https://issues.apache.org/jira/browse/ATLAS-3693
> Project: Atlas
> Issue Type: Bug
> Components: atlas-webui
> Affects Versions: 3.0.0
> Reporter: Umesh Padashetty
> Assignee: Prasad P. Pawar
> Priority: Major
> Attachments:
> 0001-ATLAS-3693-UI-Business-Metadata-Unable-to-add-negati.patch
>
>
> byte, short, int, long, float, double data types can have values ranging from
> - to +, but when the attribute is defined as multi valued, unable to add
> negative values for these attributes. Entering a - sign, does nothing. The
> same works fine if the attribute is defined to be non multi-valued.
> Also, this works fine via the REST API.
> {code:java}
> curl -X POST \
> 'https://<host>:31443/api/atlas/v2/entity/guid/ab29815d-6d20-44ee-b426-8fba946b72a5/businessmetata?isOverwrite=true'
> \ -H 'cache-control: no-cache' \ -H 'content-type: application/json' \ -H
> 'postman-token: 43107e84-a29c-b1b9-b628-4e0cf4645158' \ -H 'x-xsrf-header:
> \"\"' \ -d '{"Test Multi":{"int":["1221","121222",
> "-99162"]},"Test":{"long":"922337203685477"}}' {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)