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

TinkerpopClientService is enable-able when setting the username or password in the service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M1
    • None
    • None

    Description

      In the TinkperpopClientService we are missing validators on the username and password as introduced by this PR:

      https://github.com/apache/nifi/pull/7677

      Example stacktrace when setting the username/password:

      java.lang.IllegalStateException: Cannot enable Controller Service TestableGremlinClientService[id=gremlinService] because it is in an invalid state: 'user-name' validated against 'test' is invalid because 'user-name' is not a supported property or has no Validator associated with it
       

      The fix:

      Add Validators.VALID to the username/password fields.

      Attachments

        Issue Links

          Activity

            People

              levilentz Levi Lentz
              levilentz Levi Lentz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 0.5h Remaining Estimate - 23.5h
                  23.5h
                  Logged:
                  Time Spent - 0.5h Remaining Estimate - 23.5h
                  0.5h