Closed
Bug 733831
Opened 13 years ago
Closed 13 years ago
Kuma: present errors from kumascript
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.5
People
(Reporter: lorchard, Assigned: lorchard)
References
Details
(Whiteboard: u=user c=wiki p=2)
Errors can arise in kumascript processing from sources such as:
* parsing a document for macros
* loading and compiling templates
* executing templates
In the resolution of bug 730708 and bug 730709, these errors will be trapped and included in the headers of the response from the service. Page content will not contain the errors, and the service makes an attempt to recover gracefully by returning either the original source doc or doing something relatively non-disruptive with macros.
It will be up to the kuma wiki to accept these headers and do something useful by presenting them in the rendered view. Maybe an alert that the page had errors, and a revealable box logging the errors.
Assignee | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lorchard
Assignee | ||
Updated•13 years ago
|
Whiteboard: u=user c=wiki p=2
Assignee | ||
Comment 1•13 years ago
|
||
Progress:
https://github.com/mozilla/kuma/pull/135
Also, removing "usefully" from the title. This displays errors, but I think making the display *useful* will require some thought & design.
For example, it would be nice to link to or somehow show within the rendered document where errors occur. This doesn't do that.
Summary: Kuma: Usefully present errors from kumascript → Kuma: present errors from kumascript
Comment 2•13 years ago
|
||
Commits pushed to mdn at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/131af9d7c61e6b7a5b17f9c4ade3cd7a9d8039e3
bug 733831: Present errors from kumascript
* Request and parse errors from kumascript using the FireLogger protocol
* Add errors to the set of things cached for 304's
* Document view template changes to display errors
* Tests
https://github.com/mozilla/kuma/commit/51a225b9092289c1d4453ba15339f08887feabe1
bug 733831: Report when the kumascript service request times out or responds with some other error status
https://github.com/mozilla/kuma/commit/b02ff1730b252f41f1f8950b62a78addcb54f62e
Merge pull request #135 from lmorchard/bug-733831-present-kumascript-errors
Bug 733831 present kumascript errors
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
Commits pushed to mdn_prod at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/131af9d7c61e6b7a5b17f9c4ade3cd7a9d8039e3
bug 733831: Present errors from kumascript
https://github.com/mozilla/kuma/commit/51a225b9092289c1d4453ba15339f08887feabe1
bug 733831: Report when the kumascript service request times out or responds with some other error status
https://github.com/mozilla/kuma/commit/b02ff1730b252f41f1f8950b62a78addcb54f62e
Merge pull request #135 from lmorchard/bug-733831-present-kumascript-errors
Updated•12 years ago
|
Version: MDN → unspecified
Updated•12 years ago
|
Component: Docs Platform → Editing
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
•