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

Pierre Villard resolved NIFI-5305.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

> Parameterized collection name fails with dynamic params
> -------------------------------------------------------
>
>                 Key: NIFI-5305
>                 URL: https://issues.apache.org/jira/browse/NIFI-5305
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.6.0
>            Reporter: Luis M Calderon
>            Assignee: Mike Thomsen
>            Priority: Major
>             Fix For: 1.8.0
>
>         Attachments: getmongo_error.txt
>
>
> When using a dynamic property for collection name, the creation of the full 
> query reference name is not working as expected. The reference name seems to 
> be the concatenation of the namespace and collection name. i.e. 
> _<namespace>.<collection_name>)_ 
> The following parameters are those which are provided to the GetMongo 
> Processor:
> Param Definitions:
>     my_schema = 'my_schema'
>     collection_name = <dynamic value from a FlowFile attribute>
> {code:java}
> Mongo Database Name: ${my_schema}
> Mongo Collection Name: ${collection_name}{code}
>  
> Attached is a text file containing the NiFi log for this error.
>  
> _There is no namespace error when the same values are hard coded._
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to