[
https://issues.apache.org/jira/browse/NIFI-14491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17946992#comment-17946992
]
ASF subversion and git services commented on NIFI-14491:
--------------------------------------------------------
Commit 23d177be3eb6efd98488c1b070726310a874cbbb in nifi's branch
refs/heads/main from Alaksiej Ščarbaty
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=23d177be3e ]
NIFI-14491 Support other types in CreateBoxFileMetadataInstance
Signed-off-by: Pierre Villard <[email protected]>
This closes #9891.
> Support data types other than string in CreateBoxFileMetadataInstance
> ---------------------------------------------------------------------
>
> Key: NIFI-14491
> URL: https://issues.apache.org/jira/browse/NIFI-14491
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Alaksiej Ščarbaty
> Assignee: Alaksiej Ščarbaty
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Currently CreateBoxFileMetadataInstance processor [treats all field values as
> strings|https://github.com/apache/nifi/blob/838fb691be6a2f7a4fea97bcf83d9bd9e0cac703/nifi-extension-bundles/nifi-box-bundle/nifi-box-processors/src/main/java/org/apache/nifi/processors/box/CreateBoxFileMetadataInstance.java#L235].
> When passing a string for numeric values, Box API returns 400 error, making
> it impossible to instantiate metadata with any numeric values.
> All [types supported by
> Box|https://developer.box.com/guides/metadata/fields/] must be treated
> appropriately.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)