[Trac-tickets] Re: [The Trac Project] #2004: [patch] send_project_index() as exception handler in modpython_frontend.py

The Trac Project noreply at edgewall.com
Fri Sep 2 13:03:31 CDT 2005


#2004: [patch] send_project_index() as exception handler in modpython_frontend.py
---------------------------------+------------------------------------------
 Reporter:  dmbrucker at gmail.com  |        Owner:  mgood   
     Type:  enhancement          |       Status:  assigned
 Priority:  normal               |    Milestone:          
Component:  mod_python frontend  |      Version:  devel   
 Severity:  minor                |   Resolution:          
 Keywords:                       |  
---------------------------------+------------------------------------------
Changes (by mgood):

  * type:  defect => enhancement
  * status:  new => assigned
  * owner:  cmlenz => mgood
  * milestone:  0.9 =>

Comment:

 If there's an error opening the environment then it's expected to report
 this as an error.  I think it will be more confusing to simply kick people
 out to the project index than to show them that the project isn't
 accessible since there was an error opening it.

 I guess it may be possible to display a nicer page that shows the error
 ''and'' a listing of other projects.  However, the submitted patch doesn't
 look like it would handle displaying the project index under normal (non-
 exception) circumstances.  We should also still use a "500" response in
 the case of an error and log the full error for debugging purposes.

 I'm reclassifying this as an enhancement since I think that the current
 behavior is acceptable, but we could present things a little nicer.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2004>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list