#441: Put product request handlers in the right context
-------------------------+-------------------------------------------------
Reporter: olemis | Owner: olemis
Type: task | Status: accepted
Priority: critical | Milestone: Release 6
Component: | Version:
multiproduct | Keywords: product environment request handler
Resolution: | bep-0003
-------------------------+-------------------------------------------------
Old description:
> This ticket encloses the following subtasks :
>
> - Do not embed product dispatching loop inside the global
> handler loop (as before) . Instead show a warning message
> in ''HTTP 404 Not Found'' response .
> * Embedding won't be needed in sub-domain deployments
> as URL namespaces will not interfere
> * [ticket:357 Environment factories] will put requests in the right
> context.
> - Consider `[trac]` `default_handler` setting to choose product landing
> page.
> Preload settings to make product dashboard view the default .
> - Tweak environment factories
> * Path match is not appropriate in sub-domain deployments
New description:
This ticket encloses the following subtasks :
1. [=#item-1] Do not embed product dispatching loop inside the global
handler loop (as before) . Instead show a warning message
in ''HTTP 404 Not Found'' response .
* Embedding won't be needed in sub-domain deployments
as URL namespaces will not interfere
* [ticket:357 Environment factories] will put requests in the right
context.
2. [=#item-2] Consider `[trac]` `default_handler` setting to choose
product landing page.
Preload settings to make product dashboard view the default .
3. [=#item-3] Tweak environment factories
* Path match is not appropriate in sub-domain deployments
--
Comment (by olemis):
[attachment:t441_r1461631_product_module_pathinfo.diff Attached patch]
implements [#item-1] . Details :
{{{
#!sh
$ hg qapplied
t441/t441_r1461631_product_module_pathinfo.diff
$ hg log -r qparent --template="[{svnrev}] - {desc}\n"
[1462483] - Sync merge from trunk
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/441#comment:7>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker