Attempting to pin a post made from `mattermost sampledata` results in panic

Description

The `Message` field of the `PostPatch` struct [here](https://github.com/mattermost/mattermost-server/blob/d391fd6231b8ff54578ec35810146aa48101cfc9/model/post.go#L524) is nil. I'm not sure what about the sampledata command causes this to happen.

QA Test Steps

covered by UTs

Activity

Show:
Amy Blais
June 19, 2020, 7:10 PM

Is this a new issue / or urgent issue?

Michael Kochell
June 19, 2020, 7:12 PM

I don’t believe it is new, and it is not urgent due to this sampledata command being for development/demo purposes only. The pin attempt just fails, with no app crash as far as I can see.

Martin Kraft
June 23, 2020, 12:19 PM

I agree with that this is not urgent.

Ogi Marusic
August 7, 2020, 9:53 PM

No testing required. Closing.

Done

Mana

3

Assignee

Agniva De Sarker

QA Assignee

Ogi Marusic

Reporter

Michael Kochell

Epic Link

None

Fix versions

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None

Severity

None
Configure