You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/04/18 15:36:00 UTC

[jira] [Updated] (NIFI-9899) Correct MongoDBLookupService handling of FlowFile attribute properties

     [ https://issues.apache.org/jira/browse/NIFI-9899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Handermann updated NIFI-9899:
-----------------------------------
    Summary: Correct MongoDBLookupService handling of FlowFile attribute properties  (was: As per documentation MongoDBLookupService   properties database and collection name    suppose to accept the values from flowfile attribute but when i tried its giving IllegalArgumentException Exception )

> Correct MongoDBLookupService handling of FlowFile attribute properties
> ----------------------------------------------------------------------
>
>                 Key: NIFI-9899
>                 URL: https://issues.apache.org/jira/browse/NIFI-9899
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.16.0, 1.15.3
>            Reporter: RAVINARAYAN SINGH
>            Priority: Major
>              Labels: ControllerService, MongoDB, lookup
>             Fix For: 1.17.0, 1.16.1
>
>         Attachments: image-2022-04-09-18-32-36-846.png, image-2022-04-09-18-34-32-324.png
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> I am using MongoDBLookupService , as documentation says that it supports  expression language and flowfile attributes for mongo database name and collection name properties  , so I was trying to pass those values as a attribute of the flow file but it not able to recognize
> I am getting following exception 
> MongoDBLookupService[id=f6b246ef-017f-1000-fc40-a74d9160ed1a] Error during lookup \{"division_name": "Indore"}: java.lang.IllegalArgumentException: state should be: databaseName is not empty
>  
> !image-2022-04-09-18-34-32-324.png!
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)