#592: global: TracLinks not pointing at resources in the right product context
---------------------------+--------------------------------------
  Reporter:  olemis        |      Owner:  olemis
      Type:  defect        |     Status:  accepted
  Priority:  minor         |  Milestone:  Release 7
 Component:  multiproduct  |    Version:
Resolution:                |   Keywords:  global product TracLinks
---------------------------+--------------------------------------
Changes (by olemis):

 * priority:  major => minor


Old description:

> Recently I've noticed that `global:` TracLinks do not point at the
> resource URL in the right product context when using bootstrap handlers
> to deploy custom URL mappings. E.g. in this page http://dataviz.blood-
> hound.net/wiki/UserDoc/TracLinks `[global:wiki:TracLinks]` is expanded to
> ''http://dataviz.blood-hound.net/wiki/TracLinks'' instead of global URL
> ''http://blood-hound.net/wiki/TracLinks''.
>
> PS: This is working fine for default URL mappings in my local working
> copy.

New description:

 Recently I've noticed that `global:` TracLinks do not point at the
 resource URL in the right product context when using bootstrap handlers to
 deploy custom URL mappings. E.g. in this page http://dataviz.blood-
 hound.net/wiki/UserDoc/TracLinks `[global:wiki:TracLinks]` is expanded to
 ''http://dataviz.blood-hound.net/wiki/TracLinks'' instead of global URL
 ''http://blood-hound.net/wiki/TracLinks''.

 **Update** : After some more testing with sub-domain deployments the
 situation is as follows:

   - If `base_url` option in `[trac]` section of the global env
     [wiki:TracIni configuration file] is not set then `product:` links
     will point at the correct URL but `global:` links will not work
     as expected in product context.
   - OTOH once `base_url` option in `[trac]` section of the global env
     [wiki:TracIni configuration file] is set then `product_base_url` in
     `[multiproduct]` section is ignored and both `product:` and `global:`
 links
     will not work as expected in any context.

 PS: This is working fine for default URL mappings in my local working
 copy.

--

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/592#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to