You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2014/02/03 23:24:10 UTC
[Apache Bloodhound] #749: Error message in product home page if
default handler disabled
#749: Error message in product home page if default handler disabled
---------------------+--------------------
Reporter: olemis | Owner:
Type: defect | Status: new
Priority: major | Version: 0.8.0dev
Resolution: |
---------------------+--------------------
==== How to Reproduce ====
While doing a GET operation on ``, Trac issued an internal error.
- Set default settings for landing page to point at WikiModule
- Disable wiki in global scope
- Create new product
* Error is shown after redirect to product home page
Handling this case gracefully by rendering a warning would be more user-
friendly .
Request parameters:
{{{
{}
}}}
User agent: `Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16`
==== System Information ====
|| '''`Trac`''' || `1.0.1` [[br]] `` ||
|| '''`Babel`''' || `0.9.6` ||
|| '''`Bloodhound Trac`''' || `1.0.1` ||
|| '''`Genshi`''' || `0.6.1 (without speedups)` ||
|| '''`Pygments`''' || `1.6` ||
|| '''`pysqlite`''' || `2.6.0` ||
|| '''`Python`''' || `2.7.4 (default, Sep 26 2013, 03:20:26) ` [[br]]
`[GCC 4.7.3]` ||
|| '''`pytz`''' || `2013b` ||
|| '''`setuptools`''' || `0.6` ||
|| '''`SQLite`''' || `3.7.15.2` ||
|| '''`jQuery`''' || `1.7.2` ||
==== Enabled Plugins ====
|| '''`BloodhoundDashboardPlugin`''' || `0.8.0dev` ||˝³
|| '''`BloodhoundMultiProduct`''' || `0.8.0dev` ||
|| '''`BloodhoundRelationsPlugin`''' || `0.8.0dev` ||
|| '''`BloodhoundSearchPlugin`''' || `0.8.0dev` ||
|| '''`BloodhoundTheme`''' || `0.8.0dev` ||
|| '''`TracAccountManager`''' || `0.4.3` ||
|| '''`TracPermRedirect`''' || `3.0` ||
|| '''`TracThemeEngine`''' || `2.2.2dev` ||
==== Python Traceback ====
{{{
Traceback (most recent call last):
File "/path/to/bh/trac/trac/web/main.py", line 477, in _dispatch_request
dispatcher.dispatch(req)
File "/path/to/bh/trac/trac/web/main.py", line 175, in dispatch
chosen_handler = self.default_handler
File "/path/to/bh/trac/trac/config.py", line 703, in __get__
self.section, self.name))
AttributeError: Cannot find an implementation of the "IRequestHandler"
interface named "WikiModule". Please update the option
trac.default_handler in trac.ini.
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/749>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #749: Error message in product home page if
default handler disabled
Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#749: Error message in product home page if default handler disabled
------------------------+----------------------
Reporter: olemis | Owner: olemis
Type: defect | Status: accepted
Priority: major | Milestone: next 0.x
Component: trac core | Version: 0.8.0dev
Resolution: | Keywords: config
------------------------+----------------------
Comment (by olemis):
[attachment:t749_r1571498_default_handler_error.diff Attached patch] will
display a more user friendly error message on default web handler
misconfiguration .
Details to apply the patch
{{{#!sh
$ hg qapplied
t749/t749_r1571498_default_handler_error.diff
$ hg log -r qparent --template="{svnrev}\n"
1573509
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/749#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #749: Error message in product home page if
default handler disabled
Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#749: Error message in product home page if default handler disabled
------------------------+-----------------------
Reporter: olemis | Owner: olemis
Type: defect | Status: accepted
Priority: major | Milestone: Release 9
Component: trac core | Version: 0.8.0dev
Resolution: | Keywords: config
------------------------+-----------------------
Changes (by olemis):
* owner: => olemis
* status: new => accepted
* component: => trac core
* keywords: => config
* milestone: => Release 9
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/749#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker
Re: [Apache Bloodhound] #749: Error message in product home page if
default handler disabled
Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#749: Error message in product home page if default handler disabled
------------------------+-------------------------------
Reporter: olemis | Owner: rjollos
Type: defect | Status: review
Priority: major | Milestone: Release 9
Component: trac core | Version: 0.8.0dev
Resolution: | Keywords: config trac-1.0.2
------------------------+-------------------------------
Changes (by rjollos):
* owner: olemis => rjollos
* keywords: config => config trac-1.0.2
* status: accepted => review
* milestone: next 0.x => Release 9
Comment:
This ticket should have been linked to trac:#11513. As noted, the issue is
already fixed for Trac 1.0.2 by handling the misconfiguration in
`ExtensionOption`. We can leave the ticket open to reminder ourselves to
test the issue after Trac 1.0.2 is merged in.
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/749#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker