Skip to content

Advanced Search Allows Search using Blank Spaces  #23055

@RonakParmar

Description

@RonakParmar

Advanced Search allows search by entering only blank spaces in all the fields of the form and it will generate blank search result. which is not correct behavior of search result.

Preconditions (*)

  1. Magento 2.3.x
  2. PHP 7.1

Steps to reproduce (*)

  1. Click on Advanced Search link in the footer
  2. Enter only blank spaces in any/all fields
  3. Click on Search button

Expected result (*)

  1. It should not allow to search if we enter only blank spaces.
  2. It should show validation message on click of Search button.
  3. It should not generate search result of blank spaces.

Actual result (*)

  1. It is allowing to search using blank spaces.
  2. Please see below screenshot of Advanced Search Form and Search Result Page.
    advanced-search-form
    advanced-search-result

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: AdvancedSearchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions