Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#2271 closed defect (invalid)

macro works not

Reported by: didley@… Owned by: Terry Brown
Priority: normal Component: MilestoneCompactMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

I put the line [[MilestoneCompact()]] in a wiki page after submit changes there is just the line [[MilestoneCompact()]].

Attachments (0)

Change History (8)

comment:1 Changed 9 years ago by didley@…

I have to correct the view after submit changes there I can see only

[[MilestoneCompact()]]

comment:2 in reply to:  description Changed 9 years ago by Terry Brown

Replying to didley@gmx.de:

I put the line [[MilestoneCompact()]] in a wiki page after submit changes there is just the line [[MilestoneCompact()]].

How did you install the macro? Try copying milestonecompactmacro/0.11/MilestoneCompactMacro.py

to the plugins directory of your Trac environment. Also, when you go to the WikiMacros page of your trac's wiki, [[MilestoneCompact]] should be listed under Available macros, it appears at the bottom of the list for me.

If this doesn'y help, please tell me are you seeing (a) the red box with the "Error: Failed to load processor..." message, or (b) just the literal text [[MilestoneCompact()]]?

-Terry Brown

Last edited 4 years ago by Ryan J Ollos (previous) (diff)

comment:3 Changed 9 years ago by didley@…

I did it install as you described. Under Available macros I can see just the literal text. The same like my wiki pages. Under plugins I can see the MilestoneCompactmacro and it's enabled.

didley

comment:4 Changed 9 years ago by didley@…

(b) just the literal text.

comment:5 Changed 9 years ago by Terry Brown

I'm sorry I don't know what else to suggest. With the macro installed in the plugins directory I have a wiki page with the following content:

= Milestones =

[[MilestoneCompact()]]

== Same information in a table ==

[[MilestoneCompact(table)]]

and it works just as expected (0.11 - that's important).

What I don't understand is why, when I put [[MacroThatDoesNotExist()]] in a page, I get an error, but you're saying you just get the literal text. I assume you're not enclosing it in {{{ in any way.

comment:6 Changed 9 years ago by didley@…

Thanx for your help. I changed the Trac revision also and now it works.

comment:7 Changed 9 years ago by Terry Brown

Resolution: invalid
Status: newclosed

comment:8 Changed 4 years ago by Ryan J Ollos

Description: modified (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Terry Brown.
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.