[
https://issues.apache.org/jira/browse/NIFI-5305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16547577#comment-16547577
]
ASF subversion and git services commented on NIFI-5305:
-------------------------------------------------------
Commit 461eca0d147b915fd1c806b17e6dff39d585e3f1 in nifi's branch
refs/heads/master from [~mike.thomsen]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=461eca0 ]
NIFI-5305 If EL evaluation creates an empty string for the database or
collection names, it raises a ProcessException which triggers failure behavior.
Signed-off-by: Pierre Villard <[email protected]>
This closes #2891.
> 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
> Affects Versions: 1.6.0
> Reporter: Luis M Calderon
> Assignee: Mike Thomsen
> Priority: Major
> 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)