nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Radden (Jira)" <>
Subject [jira] [Created] (NIFI-6705) getSupportedDynamicPropertyDescriptor return PD with non-matching name
Date Tue, 24 Sep 2019 09:56:00 GMT
Peter Radden created NIFI-6705:

             Summary: getSupportedDynamicPropertyDescriptor return PD with non-matching name
                 Key: NIFI-6705
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework, Core UI
    Affects Versions: 1.9.2
            Reporter: Peter Radden

If I want to allow a dynamic property to be case-insensitive, the obvious way would seem to
be for the getSupportedDynamicPropertyDescriptor to return a PropertyDescriptor with lower-case
name as in this:
public PropertyDescriptor getSupportedDynamicPropertyDescriptor(final String name)
    final String lowerName = name.toLowerCase();
    if (lowerName.equals("somename"))
        return new PropertyDescriptor.Builder()

Entering the lower-case name explicitly is fine, but if any other casing is used, the UI breaks,
and the property is not added.

My feeling is that the name provided by the PropertyDescriptor should override the provided

This message was sent by Atlassian Jira

View raw message