Closed
Bug 809617
Opened 13 years ago
Closed 13 years ago
Do not update a translation with the slug of its parent
Categories
(developer.mozilla.org Graveyard :: Localization, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: davidwalsh, Unassigned)
References
Details
(Whiteboard: c=Editing p=3)
In researching other slug bugs, I found something very bad: the incorrect translation slug is sent to the translation edit page. To duplicate:
1. Create an en-US document with a slug "html"
2. Translate to French with a slug of "somethingelse"
3. Click the edit button for the French document.
4. Click "save changes"
5. You'll see that the slug says "html", which is the slug of the root/parent document, *not* the French translation
My research shows that this never quite worked correctly. If I pass the document_slug as the revision.slug, the translate page 404s.
| Reporter | ||
Comment 1•13 years ago
|
||
CC'ing other devs on this because it's a fairly large issue.
Severity: normal → major
| Reporter | ||
Comment 2•13 years ago
|
||
A few other things I'll point out:
1. Redirects are being created properly, so this isn't the end of the world
2. This is probably causing the occasional "slug is taken" warnings.
Updated•13 years ago
|
Whiteboard: c=Editing
Updated•13 years ago
|
Whiteboard: c=Editing → c=Editing p=
Updated•13 years ago
|
Priority: -- → P1
| Reporter | ||
Updated•13 years ago
|
QA Contact: dwalsh
Updated•13 years ago
|
Summary: Slug Translation Receives Wrong Slug → Do not update a translation with the slug of its parent
Updated•13 years ago
|
Component: Editing → Localization
Updated•13 years ago
|
Updated•13 years ago
|
Whiteboard: c=Editing p= → c=Editing p=3
Comment 3•13 years ago
|
||
Commit pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/6ba1c1b220db88892f29c9da910ecc52ff7253aa
fix bug 809617 - Prevent document slug override
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 4•13 years ago
|
||
verified fixed translated the https://developer.allizom.org/en-US/docs/HTML/HTML5 to French
https://developer.allizom.org/fr/docs/HTML/HTML5testFrench and the new slug was saved
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•