Modify

Opened 16 years ago

Closed 16 years ago

#3134 closed defect (worksforme)

argument "sectionindex" returns "Error: Page sectionindex does not exist"

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: TocMacro
Severity: normal Keywords: sectionindex, tocmacro
Cc: wolf.sihart@… Trac Release: 0.10

Description

Essentially what the summary/subject says. Executing the TOC macro with only the sectionindex argument, used by itself, is supposed to return all children of the current page's parent, but returns an error.

[[TOC(sectionindex, notitle, heading=This section pages)]]
[[TOC(sectionindex)]]
[[TOC(notitle, sectionindex)]

All three output

"Error: Page sectionindex does not exist"

in a red box. It would seem that the macro thinks I'm trying to use the phrase "sectionindex" as a page rather than a registered argument. I'm wondering if anyone else has experienced this, or if the contributor has a solution to the problem.

Attachments (1)

sectionindex_bug.PNG (32.7 KB) - added by wolf.sihart@… 16 years ago.
Screenshot with code of sectionindex error

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by wolf.sihart@…

Attachment: sectionindex_bug.PNG added

Screenshot with code of sectionindex error

comment:1 Changed 16 years ago by osimons

Keywords: bug removed
Resolution: worksforme
Status: newclosed

If you look at the macro documentation for your 0.10 version (WikiMacros page in your project), you won't find any sectionindex argument for this macro.

It was added for 0.11, see #2790. Upgrade if you need it - it won't be backported to 0.10.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.