Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10414

Query is ignore if field filter header is set

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.0
    • 2.18.1, 2.19.0
    • camel-mongodb
    • None
    • any

    • Unknown

    Description

      If the field filter header (CamelMongoDbFieldsFilter) is set the query is ignored.

      As can be seen here:
      https://github.com/apache/camel/blob/camel-2.18.x/components/camel-mongodb/src/main/java/org/apache/camel/component/mongodb/MongoDbProducer.java#L314-L320

      Attachments

        Activity

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

          People

            acosentino Andrea Cosentino
            pontus.ullgren Pontus Ullgren
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment