Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9211

DBCPConnectionPool import error when using variable in "Database Driver Location(s)" property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.14.0
    • 1.15.0
    • Extensions
    • None

    Description

      When using a non-existing variable in "Database Driver Location(s)" property of a DBCPConnectionPool, UI gives error message "An unexpected error has occurred. Please check the logs for additional details." without any details in logs. Same error when using an existing variable, commit it to NiFi Registry or export flow's JSON and import as new.
       
      1) If I use a non-existing variable, I got error;
      2) If I use an existing variable, it's ok, BUT;
      3) If I use an existing variable AND commit the flow to the NiFi Registry, I can't import that flow anymore. I got same error as case #1;
      4) If same case as #3, I can import a early version (without import problems), then "change version" to the problematic one, it works fine. Seems the issue is when creating new components with variable references in the import process, along with using non-existing variable in UI.
       
      I've tested with processors and other controller services, and with other properties in DBCPConnectionPool, but it seems to be a very specific issue with property "Database Driver Location(s)" in DBCPConnectionPool controller service.
       
      It seems to me it's a regression from NIFI-8429.

      Attachments

        Issue Links

          Activity

            People

              turcsanyip Peter Turcsanyi
              emfontes Eduardo Mota Fontes
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h