Modify

Opened 12 years ago

Closed 12 years ago

#10144 closed defect (fixed)

PlantUml macro doesn't work well if you put any environment before it.

Reported by: anonymous Owned by: Ryan J Ollos
Priority: normal Component: PlantUmlMacro
Severity: normal Keywords:
Cc: Álvaro Iradier, Steffen Hoffmann Trac Release: 0.11

Description (last modified by Ryan J Ollos)

Following contents makes error. I tried it on the Trac 0.12.3 and 0.11.2.

It seems an environment is a bad influence on PlantUml macro.

{{{
#!c
test env.
}}}

[[PlantUml(somepath/file.txt)]]

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by Ryan J Ollos

Description: modified (diff)
Owner: changed from Álvaro Iradier to Ryan J Ollos
Status: newassigned

comment:2 Changed 12 years ago by Ryan J Ollos

Defect has been reproduced. Thanks for reporting. I hope to have a fix available shortly.

comment:3 Changed 12 years ago by Ryan J Ollos

Cc: Álvaro Iradier Steffen Hoffmann added; Ryan J Ollos removed

For reasons I don't understand, if you put a WikiProcessor before the macro call, then formatter.code_processor.args is {} rather than None. So, it will be a simple code modification to fix this.

comment:4 Changed 12 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

(In [11721]) Fixes #10144: PlantUML diagrams would not be rendered from the repository if a WikiProcessor existed on the wiki page before the macro call.

Modify Ticket

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