Edgewall Software
Modify

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: olemis+trac@… 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 Remy Blank, 15 years ago

Owner: set to Remy Blank

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…

comment:2 by Remy Blank, 15 years ago

Milestone: 0.11.7.10.12
Resolution: fixed
Status: newclosed

There's no wiki rendering of plugin docstrings on 0.11-stable, so this must be 0.12-specific. Fixed in [9787].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.