Closed
Bug 900961
Opened 12 years ago
Closed 12 years ago
French article shows English breadcrumbs
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: FredB, Assigned: groovecoder)
References
Details
(Whiteboard: [specification][type:bug])
What did you do?
================
1. Once upon a time, there was bug 876738
2. The pages seemed to remain still
3. But the young contributor from far far away recently discovered that some pages moved in a weird weird country.
What happened?
==============
The pages I give later have a borked breadcrumb showing both en-US string with a valid URL. The URL points to the docs/Web/CSS that was the tentative destination.
What should have happened?
==========================
In the first time, the whole tree should have moved without batting an eyelid.
Then, if the page move would have been successful, the content would be accessible as docs/Web/CSS/ and no redirection should have happened.
Is there anything else we should know?
======================================
Pages affected:
https://developer.mozilla.org/fr/docs/CSS/font-size
https://developer.mozilla.org/fr/docs/CSS/outline
And maybe more to come.
Updated•12 years ago
|
Summary: Bogus CSS French docs moved → French article shows English breadcrumbs
| Reporter | ||
Comment 1•12 years ago
|
||
https://developer.mozilla.org/fr/docs/CSS/flex
https://developer.mozilla.org/fr/docs/CSS/::first-letter
https://developer.mozilla.org/fr/docs/CSS/cha%C3%AEne_de_caract%C3%A8res
https://developer.mozilla.org/fr/docs/CSS/column-fill
https://developer.mozilla.org/fr/docs/CSS/empty-cells
https://developer.mozilla.org/fr/docs/CSS/overflow
https://developer.mozilla.org/fr/docs/CSS/CSS_values_syntax
Breadcrumb that changed after my latest edit (they were ok before):
https://developer.mozilla.org/fr/docs/CSS/S%C3%A9lecteurs_enfant
https://developer.mozilla.org/fr/docs/CSS/table-layout
https://developer.mozilla.org/fr/docs/CSS/quotes
https://developer.mozilla.org/fr/docs/CSS/right
https://developer.mozilla.org/fr/docs/CSS/border-collapse
https://developer.mozilla.org/fr/docs/CSS/border-image-source
https://developer.mozilla.org/fr/docs/CSS/Reference/S%C3%A9lecteurs_d%27ID
https://developer.mozilla.org/fr/docs/CSS/text-rendering
https://developer.mozilla.org/fr/docs/CSS/caption-side
https://developer.mozilla.org/fr/docs/CSS/transition
https://developer.mozilla.org/fr/docs/CSS/transition-duration
https://developer.mozilla.org/fr/docs/CSS/white-space
https://developer.mozilla.org/fr/docs/CSS/word-wrap
And a slightly different yet seems to be affected in a similar way:
https://developer.mozilla.org/fr/docs/Compatibilit%C3%A9_CSS_de_Mozilla
| Reporter | ||
Comment 2•12 years ago
|
||
And after edit (second batch):
https://developer.mozilla.org/fr/docs/CSS/-moz-zoom-in
https://developer.mozilla.org/fr/docs/CSS/-moz-zoom-out
https://developer.mozilla.org/fr/docs/CSS/:-moz-first-node
https://developer.mozilla.org/fr/docs/CSS/:-moz-tree-twisty
https://developer.mozilla.org/fr/docs/CSS/:-moz-tree-separator
https://developer.mozilla.org/fr/docs/CSS/:-moz-tree-row
https://developer.mozilla.org/fr/docs/CSS/::-moz-progress-bar
| Reporter | ||
Comment 3•12 years ago
|
||
And a new major one (which happen after an edit once again):
https://developer.mozilla.org/fr/docs/CSS
| Assignee | ||
Comment 4•12 years ago
|
||
Hmm ... can you explain a little more about this? When I look at these, all the breadcrumb links are /fr/ links? Or do you mean the text of the breadcrumbs?
| Reporter | ||
Comment 5•12 years ago
|
||
The links are /fr/ indeed, yet the text is in English, and matches the English structure.
The breadcrumbs shows that the /fr/docs/CSS/word-wrap is a sub-page of /fr/docs/Web/CSS/word-**** which is wrong.
Trying to avoid redirect by adding ?redirect=no on /fr/docs/Web/CSS/word-wrap doesn't work. (Ends up as a HTTP 302 while after a move it would throw a 301)
Might these be remnants of bug 876738 ?
Comment 6•12 years ago
|
||
Have these already been fixed manually? Not seeing the issue on the word-wrap page, or random selection of other pages linked above.
Flags: needinfo?(fredbourgeon)
| Reporter | ||
Comment 7•12 years ago
|
||
Those pages haven't been fixed manually AFAIK. By that I assume you mean recreate the link between children and translation parent. Well, in that case no, or at least not all of those pages (some might though).
Flags: needinfo?(fredbourgeon)
Comment 8•12 years ago
|
||
I am still seeing the issue on the word-wrap page -- the content of the article is French, but the Breadcrumb text is English.
Updated•12 years ago
|
Flags: needinfo?(mozbugs.retornam)
Updated•12 years ago
|
Flags: needinfo?(stephen.donner)
Comment 9•12 years ago
|
||
This is still not fixed I'm still seeing French articles with English breadcrumbs on prod. Can dev or stage get DB dumps from prod to make testing on dev or stage with locales other than English easier.
Flags: needinfo?(stephen.donner)
Flags: needinfo?(mozbugs.retornam)
Comment 10•12 years ago
|
||
I manually fixed the one listed here as I needed them to be correct for some statistic.
But I noticed that new ones appeared today, without involving a page move, only by editing translated articles.
Comment 11•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/c55b5e05357552f284125eae9a332e5572217f80
Bug 900961: Provide a way to (sometimes) repair bad breadcrumbs.
This doesn't prevent the problem from recurring; doing that will
probably require digging down into the page-move code and figuring out
what exactly went wrong that broke the breadcrumbs in the first place.
This also will not fix every broken document; some are too bad for
this sort of fix to work on, and will have to be repaired manually.
For ease of UI, a view is provided, accessible to superusers, which
can be linked from a document detail page to perform the repair.
https://github.com/mozilla/kuma/commit/9a8a8ee3783b59a06327a803d94c6d2a929418f6
Merge pull request #1270 from ubernostrum/breadcrumbs-900961
Bug 900961: Provide a way to (sometimes) repair bad breadcrumbs.
Comment 13•12 years ago
|
||
Can anyone confirm that bug 916731 (https://developer.mozilla.org/fr/docs/Mozilla/Firefox_pour_Android) is the same issue?
Flags: needinfo?
Comment 14•12 years ago
|
||
Also, did we intentionally choose not to close this bug with the commit message from comment 11? Is there still more work to do?
Flags: needinfo? → needinfo?(jbennett)
| Reporter | ||
Comment 15•12 years ago
|
||
(In reply to John Karahalis [:openjck] from comment #13)
> Can anyone confirm that bug 916731
> (https://developer.mozilla.org/fr/docs/Mozilla/Firefox_pour_Android) is the
> same issue?
From what I can see, breadcrumbs on this page are ok but someone may have fixed them. Additional input would be appreciated.
IIRC, what has landed is a way to fix the breadcrumbs on the spot, but does not fix the issue that borks them. The latter fix which is part of a larger feature set, but James can tell more about it for sure.
Comment 16•12 years ago
|
||
Each edition of a translated document corrupt the database.
Each morning I'm manually fixing those of HTML, SVG, CSS, JavaScript, MathML and Reference to prevent nasty things to happen if somebody move anything, and also to have correct information about where we stand in our work.
| Assignee | ||
Comment 17•12 years ago
|
||
Whoa, *every* edit corrupts the breadcrumbs again? Is that consistent behavior? What are the steps to reproduce it?
Comment 18•12 years ago
|
||
Yes, it is consistent.
Step to reproduce
1. Go to a page in French, like https://developer.mozilla.org/fr/docs/CSS/padding-bottom (which is not corrupted now)
2. Edit
3. Save
Corrupted. The Parent Topic is set to the Parent value. By manually fixing it, the problem goes away of course.
Comment 19•12 years ago
|
||
(In reply to John Karahalis [:openjck] from comment #14)
> Also, did we intentionally choose not to close this bug with the commit
> message from comment 11? Is there still more work to do?
The commit provided a somewhat-simpler way to repair the problem in the common case, but did not diagnose what causes the problem or how to prevent it from recurring. So this bug, or some sort of bug for that part of it, should remain open.
Flags: needinfo?(jbennett)
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → lcrouch
| Assignee | ||
Updated•12 years ago
|
Assignee: lcrouch → jbennett
| Assignee | ||
Comment 21•12 years ago
|
||
I dug into this a bit before CfA Summit, but kicked it away when I left.
:ubernostrum - any progress here? What do I need to know to dive back into it?
Comment 22•12 years ago
|
||
I'm at Heisenbug status at the moment; been steeping through the view code and trying to catch where it happens, and failing.
As I think we talked about a while back, though, it may be a good idea to just go ahead and split up the translation view into multiple separate (logical, if not public-facing-URL-physical) views, since the overall complexity of it is probably a culprit in masking the bug. Want me to take a stab at that?
| Assignee | ||
Comment 23•12 years ago
|
||
It's no longer heisenbug for me - I can reproduce it locally. So I'm going to jump into this so :ubernostrum can stay on page-move.
Assignee: jbennett → lcrouch
| Assignee | ||
Comment 24•12 years ago
|
||
Comment 25•12 years ago
|
||
Woohoo!
Comment 26•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/79954e5c243980c876e3fcddcea4cc1e1c4faee3
fix bug 900961 - don't update topical parent
https://github.com/mozilla/kuma/commit/ef5bf70e0f21da756b3376650f2c8bf72307ff2c
Merge pull request #1538 from groovecoder/translation-breadcrumbs-900961
fix bug 900961 - don't update topical parent
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 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
•