Ticket #7463 (reopened defect)
theme.html not included when trac is at / URL.
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | general | Version: | 0.11-stable |
| Severity: | normal | Keywords: | |
| Cc: | ninuje@…, cmlenz@… |
Description
It took me 4 hours to trace all things and make out this bug. I have simple setup nothing special. When I visit http://trac.host:8000/project/ all is ok (using tracd) But when I use apache + mod_wsgi to visit http://trac.host (without project) I do not see header, banner, menu, just content. When I looked into sources I noticed that trac did not generate divs. So I started to trace it. It finished with the solution:
snowflake templates # diff layout.html layout.html-orig 54c54 < <xi:include href="$chrome.theme"></xi:include> --- > <xi:include href="$chrome.theme"><xi:fallback /></xi:include> snowflake templates #
I suppose that when fallback is ON Genshi does not search another template directories to include theme.html.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


