Pierre Villard created NIFI-7710:
------------------------------------
Summary: Flow XML validation warnings for DataSize
Key: NIFI-7710
URL: https://issues.apache.org/jira/browse/NIFI-7710
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Reporter: Pierre Villard
Assignee: Pierre Villard
In the UI, go in the configuration view of any relationship and provide a flot
number for the data size of the back pressure settings like
{code:java}
1.5 GB{code}
When restarting NiFi, warnings will be displayed in the logs:
{code:java}
2020-08-05 17:19:44,092 WARN [main] o.a.nifi.fingerprint.FingerprintFactory
Schema validation error parsing Flow Configuration at line 260040, col 58:
cvc-pattern-valid: Value '1.5 GB' is not facet-valid with respect to pattern
'\d+\s*(B|KB|MB|GB|TB|b|kb|mb|gb|tb)' for type 'DataSize'.
2020-08-05 17:19:44,092 WARN [main] o.a.nifi.fingerprint.FingerprintFactory
Schema validation error parsing Flow Configuration at line 260040, col 58:
cvc-type.3.1.3: The value '1.5 GB' of element 'maxWorkQueueDataSize' is not
valid.{code}
The XSD pattern should be changed to match what is allowed in the UI.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)