Closed
Bug 772898
Opened 13 years ago
Closed 12 years ago
Section editing removes TOC and all tags
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P1)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: public, Assigned: jbennett)
References
Details
(Whiteboard: sp=3 worktype=bug)
User Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/16.0 Firefox/16.0
Build ID: 20120703030538
Steps to reproduce:
I edited a specific section of a page.
Actual results:
After saving my changes and reloading the page, the TOC of the page was lost.
Expected results:
I want my TOC back!
Comment 1•13 years ago
|
||
Ha! That explains the vanishing TOCs that I was discovering!
Severity: normal → major
Comment 2•13 years ago
|
||
Whoa. I assumed this was just cosmetic, but it's not. Weeeird! This needs to be investigated before launch.
Comment 4•13 years ago
|
||
Janet provided some very good steps to repeat here:
https://bugzilla.mozilla.org/show_bug.cgi?id=775385#c0
Comment 5•13 years ago
|
||
Jean-Yves in bug 775385:
> Note that the TOC is removed, but also all the tags :-(
Editing the title accordingly.
Summary: Editing a section of a page removes the TOC → Section editing removes TOC and all tags
Comment 6•13 years ago
|
||
This is a fairly serious problem; we're gradually messing up the site by doing this. We also need to figure out how to fix all the pages that have been messed up.
Comment 7•13 years ago
|
||
Planning to temporarily disable section editing (see bug 774449) before launch to avoid this and a bunch of other bugs related to section editing.
Also, I opened bug 775625 about fixing pages that have already been messed up.
Updated•13 years ago
|
Priority: -- → P2
Updated•13 years ago
|
Version: Kuma → unspecified
Updated•13 years ago
|
Component: Website → Landing pages
Updated•12 years ago
|
Component: Landing pages → Editing
Whiteboard: p=2
Updated•12 years ago
|
Whiteboard: p=2 → sp=2 type=bug
Updated•12 years ago
|
Priority: P2 → P1
Updated•12 years ago
|
Whiteboard: sp=2 type=bug → sp=3 type=bug
Updated•12 years ago
|
Whiteboard: sp=3 type=bug → sp=3 worktype=bug
| Assignee | ||
Comment 8•12 years ago
|
||
So, some quick notes on what's going on here.
The problem seems to stem from the fact that section editing doesn't submit all the metadata fields, but the form expects them; when it sees the submission, it thinks "no tags submitted, no ToC checkbox", and generates a new Revision accordingly.
Solution is going to be
1. Making the save code aware of section editing (not terribly hard because the form knows if it's editing a section or the full document), in bug 823733,
2. Reworking the section-editing unit tests to accommodate and exercise that (bug 826438),
3. For good measure, disabling the ability to do a "full-page" section edit, leaving only the inline version, since having both requires the code to be way more complicated (and may not even be possible since they'd be showing incompatible things for a single code path). That's bug 826444.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jbennett
| Assignee | ||
Comment 9•12 years ago
|
||
Section editing still has issues, but the ones in this specific bug have been cleared up AFAIK.
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
•