[ 
https://issues.apache.org/jira/browse/NIFI-13533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886260#comment-17886260
 ] 

Heiner León commented on NIFI-13533:
------------------------------------

The issues seems to introduced between the UI changes from M3 to M4. Probably 
related to NIFI-12400.

The M3 version is able to handle names with periods (e.g foo.bar) in the 
Parameter Group name and Parameters names.

[^NIFI-13533-M3.mov]

In M4, the request is sent as null if either the Parameter Group or the a 
Parameter has a dot.

[^NIFI-13533-M4.mov]

The periods in the name also affects the ability of the UI to select the 
parameters.

Here is another example, when the Parameter Group does not include a dot. It's 
able to select and send the correct information for parameters without periods.

[^NIFI-13533-M4-no-period-parameter-group.mov]

The issue could be how the UI refers to the elements. For example in 
[here|https://github.com/apache/nifi/blob/19c5be01d463bc38ec0f5008549a2a42e589436d/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/settings/ui/parameter-providers/fetch-parameter-provider-parameters/fetch-parameter-provider-parameters.component.ts#L572]
 and 
[here|https://github.com/apache/nifi/blob/19c5be01d463bc38ec0f5008549a2a42e589436d/nifi-frontend/src/main/frontend/apps/nifi/src/app/pages/settings/ui/parameter-providers/fetch-parameter-provider-parameters/fetch-parameter-provider-parameters.component.ts#L578]

Last related issues are NIFI-13312, NIFI-13354, and NIFI-13431.

Tagging [~rfellows] [~scottyaslan] [~mcgilman] for visibility and if you have 
some spare time to check this issue.

 

Please let me know if you need more information.

> All ParameterProviders in 2.0.0-M4 fail to fetch parameters with a period in 
> the parameter name
> -----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-13533
>                 URL: https://issues.apache.org/jira/browse/NIFI-13533
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M4
>            Reporter: Felix Schultze
>            Assignee: Heiner León
>            Priority: Blocker
>         Attachments: Fetch-Parameter-error.jpg, NIFI-13533-M3.mov, 
> NIFI-13533-M4-no-period-parameter-group.mov, NIFI-13533-M4.mov
>
>
> All Parameter Providers fail to fetch any parameters which have a period (aka 
> dot) in the parameter name.
> Parameter names containing periods work in NiFi 1.x and also worked in NiFi 
> 2.0.0 M3, but do NOT work in 2.0.0 M4.
> This is a serious blocker for anyone using Parameter Providers who have 
> periods in their parameter names.
> KubernetesSecretParameterProvider 2.0.0-M4 does not allow dots in Keys
> If we create a new parameter (named e.g. "foo.bar") on disk and try to fetch 
> it by KubernetesSecretParameterProvider 2.0.0-M4, we always get the error 
> message: Parameter sensitivity must be specified for parameter ....
> Dismissing the error does not work an the error occurs again.
>  
> If we set the parameter name to fooBar, foo_bar, etc, the fetch is working.
> In M3, dots were working with FileParameterProvider
>  
> *Update:* 
> *Even if I activate the sensitivity for a parameter, the transmitted JSON 
> object "parameterSensitivities" in request always has null values...*
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to