Giving a long channel name for an incident gives wrong error message: "... channel already exists... "

Description

When an invalid channel name is given in the Incident Details modal, an error indicating the invalid name should be displayed instead of the "... channel name already exists..." error.

QA Test Steps

1. Start a channel using any method.
2. In the "Incident Details" modal, enter a channel name longer than allowed number of characters.
3. Click `Start Incident`.
4. Observe the error message in the center channel.

Expected: An error message indicating an invalid channel name is given.

Observed: The error message says "Error: A channel with the name [invalid name] already exists. Please choose a different name."
No testing required.

Mana

None

Assignee

Christopher Poile

QA Assignee

Prapti Shrestha

Reporter

Prapti Shrestha

Epic Link

Fix versions

Mattermost Team

Workflows

Sprint

None

QA Testing Areas

Workflows

GitHub Issue

None

Components

Severity

None
Configure