Short URL isn't changed when changing an article's URL

RESOLVED FIXED in 2014Q4

Status

support.mozilla.org
Knowledge Base Software
P3
normal
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: pollti, Assigned: rrosario)

Tracking

unspecified
2014Q4

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: u=user c=wiki p=1 s=2014.22, URL)

(Reporter)

Description

3 years ago
When I change the URL of a localized article while not having it reviewed once, SUMO doesn't create a redirection from the old URL to the new one (just deletes the old URL), but the short (share) URL at the bottom of the article doesn't get changed.
See https://support.mozilla.org/de/kb/haeufig-gestellte-fragen.
(Reporter)

Updated

3 years ago
OS: Windows 7 → All
Hardware: x86_64 → All
(Assignee)

Comment 1

3 years ago
We should probably regenerate short URLs every time a slug changes.
(Assignee)

Comment 2

3 years ago
I am looking at this code already, so I'll look at this issue too.
Assignee: nobody → rrosario
Whiteboard: u=user c=wiki p=1 s=2014.22
Target Milestone: --- → 2014Q4
(Assignee)

Updated

3 years ago
Priority: -- → P3
(Reporter)

Comment 5

3 years ago
The Short URL in https://support.mozilla.org/de/kb/firefox-stuerzt-beim-starten-ab is also corrupt. Propably the same issue.
Can we change all the short URLs of articles whose URL has been changed in the past (is it possible to detect these articles?) in order to fix those issues (maybe there are more of them)?
Flags: needinfo?(rrosario)
(Assignee)

Comment 6

3 years ago
Deployed to prod. All the short links have been deleted and will be recreated in the upcoming hours (maybe days?).
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(rrosario)
Resolution: --- → FIXED
(Reporter)

Comment 7

3 years ago
Thank you very much!

Comment 8

3 years ago
What Tim said - thank you for doing this! :-)
You need to log in before you can comment on or make changes to this bug.