id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
11479,Improve plugin association in defect reporting,Ryan J Ollos,Ryan J Ollos,"On tickets that are populated by clicking //create// on an error page, the //Component// is not set and so we rely on the user to set the //Component// field. Frequently they do not. I briefly investigated ways to solve this. We could add //Component// to the GET request:
{{{#!diff
diff --git a/trac/templates/error.html b/trac/templates/error.html
index 6e6a6e6..6c4fc34 100644
--- a/trac/templates/error.html
+++ b/trac/templates/error.html
@@ -58,6 +58,7 @@
+
}}}
That would only work in cases that the plugin name matches the project name. Frequently they do not, for example: SumStatsPlugin and [browser:/sumstatsplugin/0.12/setup.py@13546:3#L1 TracSumStats]. Perhaps we could use `IRequestHandler` to handle some common mappings, such as !TracSumStats -> !SumStatsPlugin.",enhancement,closed,normal,TracHacks,normal,fixed,,Steffen Hoffmann Michael Renzmann Jun Omae,