Opened 15 years ago
Closed 15 years ago
#9370 closed defect (fixed)
Ensure plugins admin panel is rendered even if wrong syntax in docs
Reported by: | Owned by: | Remy Blank | |
---|---|---|---|
Priority: | high | Milestone: | 0.12 |
Component: | admin/web | Version: | 0.11.7 |
Severity: | major | Keywords: | wiki admin web |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
The documentation of available plugins is rendered in the admin panel. The fact is that if docs contain a syntax error (e.g. because something changed in new version ;o) then the corresponding exception is not handled, thus Trac error message is shown instead. This means that under such conditions it's impossible to manage installed plugins. Considering that this panel is very important, and also that HTML docs is a relatively cosmetic feature, it would be nice to wrap the code used to render wiki markup so as to catch exceptions. On error, a message like Impossible to render docs for plugin XxxPlugin : Message ? should be shown as plugin description. This way it will be possible to proceed with admin tasks .
PS: I specified defect but might be enhancement
PS: I specified 0.11.7 but might be 0.12.1
PS: PS: Couldn't find the time to submit a patch :-/
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
Owner: | set to |
---|
comment:2 by , 15 years ago
Milestone: | 0.11.7.1 → 0.12 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
There's no wiki rendering of plugin docstrings on 0.11-stable, so this must be 0.12-specific. Fixed in [9787].
It is a defect, and too bad about the patch :)
Are you sure this happens on 0.11.7? AFAICR, I added the plugin descriptions on trunk…