BackLinks are not correct if you are using multiple trac projects
|Reported by:||anonymous||Owned by:||rjollos|
Not sure how to describe this, but my /trac URL isn't fixed at a single trac environment. Instead, it points to a directory containing multiple environments.
When the backlink macro generates the link, it generates something like:
In a multi-environment setup, I need:
So, I edited the macro replacing line:
buf.write('[li][a href="%s"]' % self.env.href.wiki(row))
buf.write('[li][a href="%s"]' % formatter.req.href.wiki(row))
It seems to work for me. Just FYI if anyone else has this problem.
Please excuse the  instead of <>. I cannot seem get the site to accept the angle brackets for html.
Change History (5)
comment:4 Changed 14 months ago by rjollos
- Owner changed from trapanator to rjollos
- Status changed from assigned to new