Mark Payne created NIFI-15489:
---------------------------------

             Summary: Address a few minor bugs
                 Key: NIFI-15489
                 URL: https://issues.apache.org/jira/browse/NIFI-15489
             Project: Apache NiFi
          Issue Type: Task
            Reporter: Mark Payne
            Assignee: Mark Payne


Found a few minor bugs around Connectors:
h3. 1. Wrong Delimiter in StandardConnectorPropertyValue.asList()
Splitting based on `:` instead of `,`
h3.  
h3. 2. ConnectorValidationContextBridge.getProperty() Returns Wrong Value
This method passes the property name instead of the property value to 
newPropertyValue(). It should lookup the actual value from this.rawValues
 
h3. 3. StandaloneProcessGroupLifecycle.stop() Doesn't Await Controller Service 
Disabling
The final step uses .thenRun() with a lambda that calls 
disableControllerServices(), which returns a CompletableFuture<Void>. Since 
thenRun() accepts a Runnable, the returned future is ignored and the stop 
operation completes before controller services are actually disabled.


h3. 4. Thread-Safety Issue in StandardConnectorRepository
Uses a HashMap where a ConcurrentHashMap should be used



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

Reply via email to