Modify

Opened 13 years ago

Last modified 10 years ago

#9262 new defect

Error: Page tree does not exist

Reported by: christoph.ruediger@… 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)

Screenshot.PNG (2.0 KB) - added by christoph.ruediger@… 13 years ago.
Screenshot of the error message.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by christoph.ruediger@…

Attachment: Screenshot.PNG added

Screenshot of the error message.

comment:1 Changed 13 years ago by christoph.ruediger@…

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 Ryan J Ollos

Owner: Noah Kantrowitz deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.