Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The current 1.16.0-SNAPSHOT version logs a warning when attempting to record component property changes using the ProcessorAuditor:
WARN [NiFi Web Server-21] org.apache.nifi.audit.ProcessorAuditor Unable to record actions: org.apache.nifi.admin.dao.DataAccessException: org.h2.jdbc.JdbcSQLSyntaxErrorException: Syntax error in SQL statement "INSERT INTO CONFIGURE_DETAILS (ACTION_ID, NAME, [*]VALUE, PREVIOUS_VALUE) VALUES (?, ?, ?, ?)"; expected "identifier"; SQL statement: INSERT INTO CONFIGURE_DETAILS (ACTION_ID, NAME, VALUE, PREVIOUS_VALUE) VALUES (?, ?, ?, ?) [42001-210]
This warning is the result of a recent upgrade to H2 database version 2.1, which made VALUE a reserved word.
The insert SQL statement should be updated to escape the VALUE column reference so that property value changes can be persisted to the Flow Configuration History.
Attachments
Issue Links
- is caused by
-
NIFI-9585 Upgrade H2 to 2.1.210
- Resolved
- links to