Skip to content

[BUG] Custom metadata search returns no results when encryption is enabled #293

@gabrielestenico

Description

@gabrielestenico

Description
When metadata encryption is enabled for a channel like this:
Image

searches based on custom metadata return no results.
The issue occurs regardless of the metadata values actually present in the messages.

To Reproduce

  1. Enable encryption for custom metadata in channel settings.
  2. Send one or more messages with custom metadata values.
  3. Go to the message browser or perform a metadata search.
  4. Observe that no messages are returned, even if metadata exists.

Expected behavior
Messages should still be searchable by custom metadata values, even when encryption is enabled.

Actual behavior
The search returns no results when encryption for custom metadata is active.

Screenshots

  • The displayed custom metadata is encrypted:
Image
  • With these search filters there are no results:
Image

Environment (please complete the following information):

  • OS: All
  • Java Distribution/Version All
  • Connect Version: All

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions