mattermost/mattermost

[Bug]: Empty search create infinite loading + error 400

Open

#31,308 创建于 2025年6月4日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)TypeScript (32,880 star) (7,823 fork)batch import
Help Wanted

描述

Before you file a bug report

Mattermost Server Version

10.9.0

Operating System

macOS

Steps to reproduce

  • Press Enter in the search bar while the input is empty

Expected behavior

Either:

  • Prevent pressing Enter when the input is empty, or

  • Allow an empty search without triggering an error (i.e., display no results)

Observed behavior

  • An infinite loading spinner appears

  • A 400 Bad Request error is triggered in the console

Log Output

Additional Information

https://github.com/user-attachments/assets/4edaa64e-1a86-4fb3-837d-4f050f08b541

贡献者指南