hackmdio / hackmdio/hackmd-io-issues

Previously published file share link is not updated when team renamed

Aperta
#149 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Nessun dato sulla lingua
Stelle
40
Fork
9
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Riproduci il problema su hackmd.io pubblicando una nota in uno spazio di lavoro del team, rinominando il team e aprendo il link di condivisione della nota. Traccia il flusso della ridenominazione del team e del link di condivisione della nota pubblicata; il lavoro è completo quando le note esistenti usano il nuovo nome del team e non producono più un 404, e il comportamento di reindirizzamento dei vecchi link è stato deciso.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
web-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.