Discussion start post metadata not updated if first post is deleted
Open
Nobody has claimed this yet.
needs-discussion
type/bug
- Dominant language
- No language data
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
1. Create a new discussion
2. Post a reply to that discussion
3. Delete the first post ± forever
4. The `start_user_id` and `start_post_id` values for that discussion are not updated
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the four steps in the issue and inspect how discussion metadata is handled when the first post is deleted. Confirm that start_user_id and start_post_id are updated to the remaining first post, but the payload names no files, tests, or entry points to begin with.
Written by the indexing model from the issue text.
Assessment
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100