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

Groovy Date.minus blocks GetMongoRecordIT from initializing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There appears to be a bug with Groovy or the Groovy compiler plugin that is preventing this from working, throwing an error saying there is no method minus for Date which takes an integer argument (there is in the Groovy docs):

      Calendar.instance.time - 10000

       

      This is a quick patch to fix GetMongoRecordIT so that it can run again while we figure out what is going on.

        Attachments

          Activity

            People

            • Assignee:
              mike.thomsen Mike Thomsen
              Reporter:
              mike.thomsen Mike Thomsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: