Skip to content

User is not found when is searched by name and one of surnames #7510

@fgsl

Description

@fgsl

Premise

User backend in LDAP

Steps to reproduce

  1. Upload a file
  2. Click on sharing icon
  3. Search for a user, using name and first of surnames. For example: User is "Roger Luis Padilha de Souza". Then, search for "Roger Luis". User will be found.
  4. After, search for same user, using name and one for surnames, except the first of them. For example: User is "Roger Luis Padilha de Souza". Then, search for "Roger Padilha"
  5. User won't be found

Expected behaviour

User must be found using name and one of surnames

Actual behaviour

User is found only if search uses name and first of surnames

Constraint

Behaviour must be defined by configuration (config.php). Default must be actual behaviour. Expected behaviour must be enabled by key user_ldap.enable_medial_search equals to true.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions