Modify

Opened 6 years ago

Closed 6 years ago

#3134 closed defect (worksforme)

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

Reported by: anonymous Owned by: coderanger
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@… 6 years ago.
Screenshot with code of sectionindex error

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by wolf.sihart@…

Screenshot with code of sectionindex error

comment:1 Changed 6 years ago by osimons

  • Keywords bug removed
  • Resolution set to worksforme
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from coderanger. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.