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

MockProcessSession.putAllAttributes should ignore the UUID attribute

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • Core Framework
    • None

    Description

      Currently, the method would copy all attributes indiscriminately, but the interface Javadoc specifically states that the attribute "uuid" should be ignored. This leads to issues with testing, where two distinct flow files are considered same in the session.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            alex_savitsky Alex Savitsky
            Votes:
            0 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 - 50m
                50m

                Slack

                  Issue deployment