hackmdio / hackmdio/hackmd-io-issues

Previously published file share link is not updated when team renamed

Open
#149 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
40
Forks
9
PR merge metrics
No merged PRs in 30d

Description

### Is this a hackmd.io issue?

- [x] Yes, the bug happens on https://hackmd.io
- [ ] No. If it's a self-hosted CodiMD instance, please fire up the issue in the repo of CodiMD: https://github.com/hackmdio/codimd

### Read our Official tutorial

It's on https://hackmd.io/c/tutorials/

或是中文版 https://hackmd.io/c/tutorials-tw/

### What's the problem

A previously published file does not get updated when a team is renamed.

#### Current behaviour

> Screenshot (optional)
![image](https://user-images.githubusercontent.com/475559/73086996-537e6e80-3e97-11ea-864b-977437d204f1.png)

The actual URL should be `https://hackmd.io/@buildpacks/ByyEY9OZ8`

Provide steps to reproduce:

1. Create a note in a team work space and publish it publically.
2. Change team name
3. Go back to note
4. Click the share icon

Notice that the url still has the old team name.

#### Expected behaviour

I expected all notes created prior to renaming the team to have the new team name in the link so that they don't go to a 404. Maybe a redirect for the old URL would be nice but less expected.

#### Environment

I use HackMD on:

**Desktop**
- OS: macOS
- Browser: chrome
- Browser Version: 79.0.3945.130

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.