Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Processors that utilize the Expression Language need to always present a failure relationship.
If a processor with only a success relationship, for example UpdateAttribute, utilizes the expression language to perform type coercion to a date and fails, the processor will be unable to dispose of the FlowFile and remain blocked indefinitely.
Recreation flow:
GenerateFlowFile -> Update Attribute #1 -> Update Attribute #2 -> Anything
Update Attribute #1 - test = "Hello World"
Update Attribute #2 - test = ${test:toDate('yyyy-MM-dd')}
Generates an IllegalAttributeException on UpdateAttribute.
The behavior should match numerical type coercion and silently skip the processing or offer failure relationships on processors supporting EL
Attachments
Issue Links
- is related to
-
NIFI-6028 Upgrading NiFi can put versioned flows into a conflict state
- Resolved
-
NIFI-6344 Add Failure Relationship to UpdateAttribute
- Patch Available
- relates to
-
NIFI-12882 Allow control over unexpected failure behavior in processors
- Open
-
NIFI-10396 Expression Language jsonPath throws error instead of returning empty string when subject is invalid JSON
- Resolved
- supercedes
-
NIFI-813 UpdateAttribute does not have a failure relationship for handling EL failures
- Resolved
- links to