Closed
Bug 823733
Opened 12 years ago
Closed 12 years ago
Rewrite save logic in revision form to be aware of inline section editing
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: openjck, Assigned: jbennett)
References
Details
(Whiteboard: p=4 c=Editing)
This is a subtask of bug 772898.
Based on what we discover in bug 823731 (and potentially other research tasks) we need to actually fix the section editing table of contents problem.
Comment 1•12 years ago
|
||
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=823731#c1 we should re-enable section editing, probably behind a waffle flag.
Reporter | ||
Comment 2•12 years ago
|
||
This is a subtask of bug 772898.
In our meeting yesterday, we discussed that the TOC is probably being removed after section editing because the logic that saves revisions does not handle this case properly and assumes that the TOC has been intentionally removed when a section edit happens. James (cc'd here) can answer any additional questions about this.
Summary: Fix section editing TOC problem based on research → Rewrite save logic in revision form to be aware of inline section editing
Reporter | ||
Updated•12 years ago
|
Whiteboard: p=1 c=Editing → p=4 c=Editing
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → jbennett
Comment 4•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/69b1c1036df3f8cae3f36d6d56547d92c61e3da2
Fix bug 823733: Rework RevisionForm save logic for section editing.
This adds a separate code path (largely because I suspect we're going
to find more things that need to be different in section edits) for
saving a section edit, and ensures that the existing show_toc and
review_tags are preserved (since they're not submitted in a section
edit).
https://github.com/mozilla/kuma/commit/610f0d15cdc9153da5749a5f8db4029358cb9c9e
Merge pull request #800 from ubernostrum/section-edit-toc
Fix bug 823733: Rework RevisionForm save logic for section editing.
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 5•12 years ago
|
||
verified fixed https://developer.allizom.org/en-US/docs/HTML/HTML5
Status: RESOLVED → VERIFIED
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
•