Opened 13 years ago
Last modified 10 years ago
#9262 new defect
Error: Page tree does not exist
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | TocMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
Description
Inside every yellow TOC block there is a red square at the bottom containing the error message "Error: Page tree does not exist". The yellow TOC block gets updated every time a change in the wiki occurs, so it seems to work properly on the main focus.
A screenshot is attached.
But what does the error message mean? And, more urgent, how to get rid of it?
Additional information
In the logs on DEBUG level I can find only one line with respect to the TocMacro:
[...] 2011-10-13 12:21:52,674 Trac[formatter] DEBUG: Executing Wiki macro TOC by provider <tractoc.macro.TOCMacro object at 0x2afe7e0665d0> [EOF]
I can reproduce this behaviour in a new trac environment where only the TocMacro is enabled:
[components] tractoc.* = enabled
The only difference to a complete default installation is, that I use MySQL as the DB backend.
My clean demo environment contains only the default wiki pages generated by the initenv command and the following modified/added demo pages:
- WikiStart
= MHC = [[TOC(MHC/*, tree, heading=Navigation)]] Short links: - [wiki:MHC] - [wiki:MHC/EMF]
- MHC
= Detail page for MHC =
- MHC/EMF
= What's the EMF? =
- MHC/EMFRelease
= What to do with an EMF release? = Step 1, 2, 3, ...
Attachments (1)
Change History (3)
Changed 13 years ago by
Attachment: | Screenshot.PNG added |
---|
comment:1 Changed 13 years ago by
Currently I recognized that the generated links in the TOC block are sometimes wrong. I don't know how to reproduce this behaviour constantly.
Relating to the demo project above, the generated links are
/trac/wiki#WhatstheEMF /trac/wiki#WhattodowithanEMFrelease
But the correct links to the pages should be
/trac/wiki/MHC/EMF#WhatstheEMF /trac/wiki/MHC/EMFRelease#WhattodowithanEMFrelease
comment:2 Changed 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
Screenshot of the error message.